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

Read two numbers from keyboard and find maximum of them?

Answer Posted / venugopal

#include<stdio.h>
#include<conio.h>

main()
{
int first,sec;
clrscr();
printf("enter two no's");
scanf("%d %i",&first,&sec);

if(first>sec)
{
printf("%i is big",first);
}
else
printf("%d is big",sec);
getch();
}

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do c compilers work?

1125


How can I do graphics in c?

1030


What is the difference between NULL and NUL?

1290


How can I prevent another program from modifying part of a file that I am modifying?

1056


difference between native and cross compilers

2125


Explain the red-black trees?

1125


Difference between goto, long jmp() and setjmp()?

1180


What is double pointer in c?

1038


What are the types of data files?

1200


How can I write data files which can be read on other machines with different word size, byte order, or floating point formats?

1029


What does c mean in basketball?

996


C language questions for civil engineering

1717


What is #define?

1111


What does. int *x[](); means ?

1066


In c programming, explain how do you insert quote characters (? And ?) Into the output screen?

1243