Description:
Find the largest of three numbers.
Find the largest of three numbers.
C Code
#include <stdio.h>
int main() {
int a = 45, b = 72, c = 38, max = a;
if (b > max) max = b;
if (c > max) max = c;
printf("Maximum: %d\n", max);
return 0;
}
Expected Output
Maximum: 72