Computer Science, asked by sshakthishree6, 1 year ago

Write algorithmic function definition to find the minimum and maximum among 3 numbers.

Answers

Answered by aarav4991
21

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).

  1. if (num1 > num2)

if (num1 > num3)

Similar questions