Feed Headline Animator

Write a program to find out the largest number from three given numbers(AND Operator)

Main( )
{
int r,n,b;
clrscr();
printf(“/n Enter Three Value /n”);
Scanf(“%d %d %d”,&r, &n, &b);
If (( r>n)&& (n>b))
Printf(“1st value is greater”);
Else
If((n>r)&&(n>b))
Printf(“2nd value is greater”);
Else
Printf(“3rd value is greater”);
Getch();
}


Posted by: Wasim Javed

No comments:

Post a Comment