Question: Write a program that takes any 6 numbers from the user in a loop and then displays the sum of numbers which are greater than
Write a program that takes any 6 numbers from the user in a loop and then displays the sum of numbers which are greater than 2 and the sum of numbers which are less than 4. For example, if you enter the numbers: 2,6,3,11,12,8 then the sum of numbers greater than 10 will be the sum of 11 and 12 and the sum of numbers less than 5 will be the sum of 2 and 3 Name:Mohammed Said ID:7251837 |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
