- Write A Program Whose Inputs Are Three Integers And Whose Outputs Are The Largest Of The Three Values And The Smallest 1 (83.85 KiB) Viewed 33 times
Write a program whose inputs are three integers, and whose outputs are the largest of the three values and the smallest
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
Write a program whose inputs are three integers, and whose outputs are the largest of the three values and the smallest
Write a program whose inputs are three integers, and whose outputs are the largest of the three values and the smallest of the three values. Ex: If the input is: 7 15 3 the output is: largest: 15 smallest: 3 Your program must define and call the following two functions. The Largest Number function should return the largest number of the three input values. The SmallestNumber function should return the smallest number of the three input values. int LargestNumber(int num1¹, int num2, int num3) int SmallestNumber(int num1, int num2, int num3)