This is c program that ask user to find out the Maximum number from given digits. User declares the required variables that use to contain the value in it. User ask to enter any five values then for loop will come in exist for evaluate the condition then if condition will use to evaluate that which number is minimum and which is maximum. Then display the result on screen as output.
This is C program that ask user to find the maximum and minimum number.
- Declare the variable.
- Using methods.
- Display result on the screen.
Here is C source code to find maximum and minimum number. The output of this program shown below.
printf("Enter Five Value :");
printf("Minium is : %d\n",min);
printf("Maximum is : %d\n",max);