PROGRAM FOR FINDING BIGGEST OF THREE NUMBERS

#include<stdio.h> #include<conio.h> void main() {  int a,b,c;  clrscr();  printf("\n enter a,b,c values"...

#include<stdio.h>
#include<conio.h>
void main()
{
 int a,b,c;
 clrscr();
 printf("\n enter a,b,c values");
 scanf("%d%d%d",&a,&b,&c);
 if(a>b)
 {
  if(a>c)
  printf("a is big");
  else
  printf("c is big");
 }
 else
 {
  if(b>c)
  printf("b is big");
  else
  printf("c is big");
 }
 getch();
}

OUT PUT:

biggest



Related

C Programs 5172571882834028090

Post a Comment

emo-but-icon

item