8. Write a program to input 5 numbers from keyboard and find their sum and average. The program should allow user to continue to use the calculator with choice of Y or X to exit. Sample input: Input 5...


8. Write a program to input 5 numbers from keyboard and find their sum and average. The<br>program should allow user to continue to use the calculator with choice of Y or X to exit.<br>Sample input:<br>Input 5 integer numbers<br>Integer 1: 6<br>Integer 2: 4<br>Integer 3: 6<br>Integer 4: 8<br>Integer 5: 15<br>The sum of 5 number is : 39<br>The Average is : 7.0<br>Do you want to continue?<br>Press Y to continue<br>Press X to exit<br>Your choice [Y / X] :Y<br>Input 5 integer numbers<br>Integer 1: 5<br>Integer 2: 9<br>Integer 3: 15<br>Integer 4: 23<br>Integer 5: 45<br>The sum of 5 number is : 136<br>The Average is : 27.0<br>Do you want to continue?<br>Press Y to continue<br>Press X to exit<br>Your choice [Y / X] :<br>

Extracted text: 8. Write a program to input 5 numbers from keyboard and find their sum and average. The program should allow user to continue to use the calculator with choice of Y or X to exit. Sample input: Input 5 integer numbers Integer 1: 6 Integer 2: 4 Integer 3: 6 Integer 4: 8 Integer 5: 15 The sum of 5 number is : 39 The Average is : 7.0 Do you want to continue? Press Y to continue Press X to exit Your choice [Y / X] :Y Input 5 integer numbers Integer 1: 5 Integer 2: 9 Integer 3: 15 Integer 4: 23 Integer 5: 45 The sum of 5 number is : 136 The Average is : 27.0 Do you want to continue? Press Y to continue Press X to exit Your choice [Y / X] :

Jun 10, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here