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

Is flag a keyword in c?

1147


Linked lists -- can you tell me how to check whether a linked list is circular?

1080


Is a house a shell structure?

1159


What is pointer to pointer in c language?

1137


What are the functions to open and close file in c language?

1199


What is a structure in c language. how to initialise a structure in c?

1062


What is scope of variable in c?

1038


What are the different types of pointers used in c language?

1042


Write a C Program That Will Count The Number Of Even And Odd Integers In A Set using while loop

2149


What is the size of enum in c?

1110


What is wrong with this initialization?

1005


How the c program is executed?

1148


Write a program to swap two numbers without using third variable in c?

1128


What is the size of array float a(10)?

1138


How can a string be converted to a number?

1019