Header Ads Widget

Responsive Advertisement

Ticker

6/recent/ticker-posts

Write a program to find the max value of three number using c language.

 #include<stdio.h>  
     void main()  
       {  
     int a,b,max;  
     printf("enter two number \n");  
     scanf("\n%d %d",&a,&b);  
     max= a>b?a:b;  
    printf("\n maximum value=%d",max);  
     getch();  
     } 

 

Post a Comment

0 Comments