find largest of 3 no

Answer Posted / udayakumarswamy

#include<stdio.h>
main()
{
int a,b,c;
clrscr();
if(a>b&&a>c)
{
printf("a is bigger than b and c");
}
else if(b>c)
{
printf(" b is bigger than a and c");
}
else
{
printf("c is bigger than a and b");
}
getch();
}

Is This Answer Correct ?    5 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why main is used in c?

583


largest Of three Number using without if condition?

996


What is difference between array and pointer in c?

534


Write an efficient algo and C code to shuffle a pack of cards.. this one was a feedback process until we came up with one with no extra storage.

655


What are file streams?

562






What are different types of variables in c?

566


What does main () mean in c?

609


Explain what math functions are available for integers? For floating point?

608


What is the difference between constant pointer and constant variable?

742


Why we use conio h in c?

580


When is the “void” keyword used in a function?

826


Can we change the value of #define in c?

582


How can a program be made to print the line number where an error occurs?

643


Is c high or low level?

575


Can you please explain the scope of static variables?

597