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 the purpose of the statement: strcat (S2, S1)?

1154


Why does everyone say not to use gets?

1088


What is #include stdio h?

1099


Do variables need to be initialized?

1026


Explain what is the benefit of using an enum rather than a #define constant?

1204


Device an algorithm for weiler-atherton polygon clipping, where the clipping window can be any specified polygon

5935


Differentiate Source Codes from Object Codes

1542


Is it possible to pass an entire structure to functions?

988


What are the standard predefined macros?

1125


What is the purpose of the preprocessor directive error?

1249


What is variable initialization and why is it important?

1233


Explain low-order bytes.

1015


Is it better to use a macro or a function?

1146


Can you please explain the difference between strcpy() and memcpy() function?

1052


Q.1 write a program to create binary tree 1 to 16 numbers? Q.2 write a program to creat a binary search tree for the member that is given by user?

2531