bsc

Comprehensive codebase and cou...
Log | Files | Refs | Activity | README | LICENSE

root / semester_1 / tuition-c / P017.c

P017.c (307B)


      1 /* Find maximum between three number. */
      2 
      3 #include <stdio.h>
      4 int main()
      5 {
      6     int a, b, c, max;
      7     printf("Enter the value for a, b, c : ");
      8     scanf("%d %d %d", &a, &b, &c);
      9     max = a;
     10     if (max < b)
     11         max = b;
     12     if (max < c)
     13         max = c;
     14     printf("Maximum : %d", max);
     15     return 0;
     16 }
© notamitgamer • Site Built: 2026-09-05 01:53:16 UTC • git-mirror commit: c170d72 [view raw info]
Originally created with stagit • modified by notamitgamer
Forked from github.com/notamitgamer/git-mirror