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 you use a 'Local Block'?

1120


write a program to input 10 strings and compare without using strcmp() function. If the character of one string matches with the characters of another string , sort them and make it a single string ??? example:- str1="Aakash" st2="Himanshu" str="Uday" output:- Aakashimanshuday (please post the answer as quickly as possible)

2049


Process by which one bit pattern in to another by bit wise operation is?

1097


Write a program to implement queue.

1066


Why is main function so important?

1047


Are there any problems with performing mathematical operations on different variable types?

992


What are c preprocessors?

1124


Explain what math functions are available for integers? For floating point?

1062


What are Macros? What are its advantages and disadvantages?

1092


what is the height of tree if leaf node is at level 3. please explain

2088


What would be an example of a structure analogous to structure c?

944


Why is c platform dependent?

1023


How to set file pointer to beginning c?

1145


A collection of data with a given structure for excepting storing and providing on demand data for multiple users a) linked list b) datastructer c) database d) preprocessor

1038


Explain threaded binary trees?

1105