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 c compilers work?
How can I do graphics in c?
What is the difference between NULL and NUL?
How can I prevent another program from modifying part of a file that I am modifying?
difference between native and cross compilers
Explain the red-black trees?
Difference between goto, long jmp() and setjmp()?
What is double pointer in c?
What are the types of data files?
How can I write data files which can be read on other machines with different word size, byte order, or floating point formats?
What does c mean in basketball?
C language questions for civil engineering
What is #define?
What does. int *x[](); means ?
In c programming, explain how do you insert quote characters (? And ?) Into the output screen?