Follow Us

LightBlog

Breaking

Friday, February 3, 2017

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

  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();
        }

No comments:

Post a Comment