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...

write a programme to enter some number and find which
number is maximum and which number is minimum from enterd
numbers.

Answer Posted / hari.11

#include<stdio.h>
int main()
{
int a,b;
scanf("%d %d",&a,&b);
printf("%d", a>b ? a : b);
return 0;
}

for further queries and discussions, visit..

http://forum.campusmaniac.com/
http://www.campusmaniac.com/

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is int main () in c?

1127


Why cant I open a file by its explicit path?

1083


A text file that contains declarations used by a group of functions,programs,or users a) executable file b) header file c) obj file d) .cfile

1153


Under what circumstances does a name clash occur?

1274


What is "Duff's Device"?

1221


What is static function in c?

1166


Do string constants represent numerical values?

1448


Is boolean a datatype in c?

1128


Which is the best website to learn c programming?

1134


Can two or more operators such as and be combined in a single line of program code?

1417


What is a lookup table in c?

1173


Is flag a keyword in c?

1216


What are shell structures used for?

1095


Is there a way to have non-constant case labels (i.e. Ranges or arbitrary expressions)?

1127


hi, which software companys will take,if d candidate's % is jst 55%?

2139