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 static memory allocation? Explain
What is malloc return c?
write a C program: To recognize date of any format even formats like "feb-02-2003","02-february-2003",mm/dd/yy, dd/mm/yy and display it as mm/dd/yy.
string reverse using recursion
How does pointer work in c?
how can use subset in c program and give more example
How many keywords are there in c?
What is the scope of an external variable in c?
In which language linux is written?
Write a program to print fibonacci series without using recursion?
What is the purpose of realloc()?
Write a program that takes a 5 digit number and calculates 2 power that number and prints it(should not use big integers and exponential functions)
Differentiate fundamental data types and derived data types in C.
Explain the meaning of keyword 'extern' in a function declaration.
Write a program to print "hello world" without using a semicolon?