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
What does & mean in scanf?
Explain what header files do I need in order to define the standard library functions I use?
What is merge sort in c?
What is ## preprocessor operator in c?
Write a program to replace n bits from the position p of the bit representation of an inputted character x with the one's complement. Method invertBit takes 3 parameters x as input character, p as position and n as the number of positions from p. Replace n bits from pth position in 8 bit character x. Then return the characters by inverting the bits.
Is exit(status) truly equivalent to returning the same status from main?
What is the use of bitwise operator?
provide an example of the Group by clause, when would you use this clause
Write the program that calculates and prints the average of several integers. Assume that the last value read is sentinel 9999.
What is the difference between variable declaration and variable definition in c?
Can 'this' pointer by used in the constructor?
What is the use of ?
What is function definition in c?
what is the differnce between programing langauge and tool? is sas is a programing langauge r tool?
What is main () in c language?