bsc

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

P017.c (443B)


      1 /*
      2  * Author: Amit Dutta (amitdutta4255@gmail.com) | Date: 12 Dec 2025
      3  * Repo: https://github.com/notamitgamer/bsc
      4  * License: MIT
      5  */
      6 
      7 /* Find maximum between three number. */
      8 
      9 #include <stdio.h>
     10 int main()
     11 {
     12     int a, b, c, max;
     13     printf("Enter the value for a, b, c : ");
     14     scanf("%d %d %d", &a, &b, &c);
     15     max = a;
     16     if (max < b)
     17         max = b;
     18     if (max < c)
     19         max = c;
     20     printf("Maximum : %d", max);
     21     return 0;
     22 }
© notamitgamer • Site Built: 2026-07-21 13:58:23 UTC • git-mirror commit: 1037f62 [view raw info]
Originally created with stagit • modified by notamitgamer
Forked from github.com/notamitgamer/git-mirror