#include<stdio.h>
#include<conio.h>
void main()
{
int n1,n2,n3;
clrscr();
printf("Enter three numbers : ");
scanf("%d%d%d",&n1,&n2,&n3);
 if(n1>n2 && n1>n3)
 {
  printf("n1 is maximum no.");
 }
 if(n2>n1 && n2>n3)
 {
  printf("n2 is maximum no.");
 }
 if(n3>n1 && n3>n2)
 {
  printf("n3 is maximum no.");
 }
 getch();
}
INPUT
Enter three numbers : 110
43
333
OUTPUT
n3 is maximum no.

Leave a Reply

Subscribe to Posts | Subscribe to Comments

All Notes on BCA

All Notes  on BCA
BCA all subjects notes

Total Pageviews

Translate

Powered by Blogger.

Copyright © All Notes on BCA