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
What is structure pointer in c?
What is the argument of a function in c?
In C language, a variable name cannot contain?
What is bss in c?
Write a function that will take in a phone number and output all possible alphabetical combinations
What are the properties of union in c?
What is the difference between pure virtual function and virtual function?
How can I do peek and poke in c?
What does the message "automatic aggregate intialization is an ansi feature" mean?
How many data structures are there in c?
What are the types of unary operators?
Explain how do you print an address?
What is the advantage of c?
What is scope of variable in c?
why to assign a pointer to null sometimes??how can a pointer we declare get assigned with a garbage value by default???