Maximum of three number program in C

This tutorial is about how to write a C program to find the maximum of Three number in C Programming Language.

Variables used in this Program:

num1,num2,num3 : Integers

C Program to find Maximum of three number

int main()
int num1,num2,num3;
printf("%d is the maximum number",num1);
else if(num2>num1&&num2>num3)
printf("%d is the maximum number",num2);
printf("%d is the maximum number",num3);
return 0;

The above program is just a sample program you can write a program to find the maximum of N numbers. Have fun with coding.]]>

Leave a Comment

Your email address will not be published. Required fields are marked *