Statics Program that print the largest of three number - 6 Players blogs for technology

give us your feedback

People Online

Breaking

ads

Post Top Ad

Friday, May 24, 2019

Statics Program that print the largest of three number

this a statics program means build in program


#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

ads1

Post Top Ad