Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

biggest of two no's with out using if condition statement

Answer Posted / partheeban

void main()
{
float i,j;
int a;
printf("Enter two numbers : ");
scanf("%f%f",&i&j);
a=i/j;
if(a)
printf("%f is greater",i);
else
printf("%f is greater",j);
}

Is This Answer Correct ?    2 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain continue keyword in c

965


What are identifiers c?

1023


What do you mean by a local block?

1034


Explain pointers in c programming?

1066


What is sizeof array?

1003


Explain what does the function toupper() do?

1007


What is a double c?

943


What is difference between static and global variable in c?

982


regarding pointers concept

1981


What is the use of void pointer and null pointer in c language?

1073


write a program to rearrange the array such way that all even elements should come first and next come odd

2226


What is pre-emptive data structure and explain it with example?

3661


What is #pragma statements?

1058


how do you execute a c program in unix.

1078


What is break statement?

1061