write a program to initialize three numbers and then display the highest , lowest and middle number
Answers
Answered by
2
Answer:
Input: A = 2, B = 8, C = 1
Output: Largest number = 8
Input: A = 231, B = 4751, C = 75821
Output: Largest number = 75821
Answered by
1
hello mate
The program output is also shown below.
* C program to find the biggest of three numbers.
int num1, num2, num3;
printf("Enter the values of num1, num2 and num3\n");
scanf("%d %d %d", &num1, &num2, &num3);
printf("num1 = %d\tnum2 = %d\tnum3 = %d\n", num1, num2, num3);
if (num1 > num2)
if (num1 > num3)
here is your answer
i hope it will help you
plz mark me as a brainlist
and follow me also
Similar questions