write a programme to enter some number and find which
number is maximum and which number is minimum from enterd
numbers.
Answer Posted / hari.11
#include<stdio.h>
int main()
{
int a,b;
scanf("%d %d",&a,&b);
printf("%d", a>b ? a : b);
return 0;
}
for further queries and discussions, visit..
http://forum.campusmaniac.com/
http://www.campusmaniac.com/
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is int main () in c?
Why cant I open a file by its explicit path?
A text file that contains declarations used by a group of functions,programs,or users a) executable file b) header file c) obj file d) .cfile
Under what circumstances does a name clash occur?
What is "Duff's Device"?
What is static function in c?
Do string constants represent numerical values?
Is boolean a datatype in c?
Which is the best website to learn c programming?
Can two or more operators such as and be combined in a single line of program code?
What is a lookup table in c?
Is flag a keyword in c?
What are shell structures used for?
Is there a way to have non-constant case labels (i.e. Ranges or arbitrary expressions)?
hi, which software companys will take,if d candidate's % is jst 55%?