Question: 4. Task 3: Output greatest value 3. Given three numbers, write a program that outputs the number with the greatest value among the three. Use

 4. Task 3: Output greatest value 3. Given three numbers, write

a program that outputs the number with the greatest value among the

4. Task 3: Output greatest value 3. Given three numbers, write a program that outputs the number with the greatest value among the three. Use the conditional ?: operator that we have studied so far (HINT: You will need to use two sets of ?: to solve this). For example, given the numbers 10, 23 and 5, your program should output, OUTPUT number 1 = 10 number 2 = 23 number 3 = 5 The highest number is = 23 #include void main() { //your codes here... 7 8 9 10 11 12 13 14 15 16 17 18 19 20 }

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!