#include <stdio.h>
#include <stdlib.h>
int main()
{
/* this is a statics program*/
int a=11,b=40,c=20;
if(a>b && a>c){
printf("\n\t%d is the largest number",a);
}else if(b>c){
printf("\n\t %d is the largest number",b);
}else printf("\n\t %d is the largest number",c);
return 0;
}
the output
40 is the largest number
No comments:
Post a Comment