fork download
  1. #include<stdio.h>
  2.  
  3. int main()
  4. {
  5. int a,b,c;
  6. printf("Enter the value of\na b c:> ");
  7. scanf("%d %d %d",&a,&b,&c);
  8. if(a>b&&a>c)
  9. printf("%d is the maximum",a);
  10. else if(b>a&&b>c)
  11. printf("%d is the maximum",b);
  12. else
  13. printf("%d is the maximum",c);
  14. return 0;
  15.  
  16. }
  17.  
  18.  
Success #stdin #stdout 0s 2172KB
stdin
Standard input is empty
stdout
Enter the value of
a b c:> 1432936013 is the maximum