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

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

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!