Answer Posted / subrat
#include<stdio.h>
#include<conio.h>
void main()
{
int a,b,c,max;
printf("enter any three numbers");
scanf("%d %d %d",&a,&b,&c);
max=a;
if(b>max)
max=b;
if (c>max)
max=c;
printf("largest of %d %d %d is %d", a,b,c,max);
}
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Why & is used in c?
What is wrong in this statement?
When should volatile modifier be used?
What are shell structures used for?
How can I get random integers in a certain range?
Explain the binary height balanced tree?
Explain 'bus error'?
Can we increase size of array in c?
What is strcmp in c?
How to declare pointer variables?
Difference between pass by reference and pass by value?
What is volatile variable in c?
What is the Purpose of 'extern' keyword in a function declaration?
Why pointers are used in c?
Why should I prototype a function?