Create a new text file and enter the following C code:
#include <stdio.h> int main() { int a, b, c, max; printf("Enter three integers: "); scanf("%d %d %d", &a, &b, &c); max = a; if (b > max) max = b; if (c > max) max = c; printf("Maximum: %d", max); return 0; }
This program takes three integers as input and prints the maximum value.