Saturday, 26 September 2015

Program to find biggest number between three input numbers

/* Program to find biggest number between three input numbers*/
#include<conio.h>
#include<stdio.h>
void main()
{
int  a,b,c,big;
clrscr();
printf("Enter any three numbers");
scanf("%d%d%d",&a,&b,&c);
big=c;
if(a>big)
big=a;
if(b>big)
big=b;
printf("Biggest no=%d",big);
getch();
}


No comments:

Post a Comment