C program to find the second greatest of three numbers.
Answers
Answered by
1
The program output is also shown below.
* C program to find the biggest of three numbers.
- int num1, num2, num3;
2.printf("Enter the values of num1, num2 and num3\n");
3.scanf("%d %d %d", &num1, &num2, &num3);
4.printf("num1 = %d\tnum2 = %d\tnum3 = %d\n", num1, num2, num3);
5.if (num1 > num2)
6.if (num1 > num3)
Similar questions