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
How do you use a 'Local Block'?
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)
Process by which one bit pattern in to another by bit wise operation is?
Write a program to implement queue.
Why is main function so important?
Are there any problems with performing mathematical operations on different variable types?
What are c preprocessors?
Explain what math functions are available for integers? For floating point?
What are Macros? What are its advantages and disadvantages?
what is the height of tree if leaf node is at level 3. please explain
What would be an example of a structure analogous to structure c?
Why is c platform dependent?
How to set file pointer to beginning c?
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
Explain threaded binary trees?