Question: Write a while loop in pseudocode that sums all the numbers from 1 to 5 . 2 . Write a for loop sums all the

Write a while loop in pseudocode that sums all the numbers from 1 to 5.2. Write a for loop sums all the numbers from 1 to 5.3. Write a loop of your choice that sums only the even numbers from 1-10.4. Write a loop that sums all the numbers from 1 to n, where n is a value given to you by the user.5. Write a loop that sums all the numbers from n down to 1, where n is a value given to you by the user. You may assume n >1.6. Write a loop that calculates n!(n factorial, ex: 4!=1x2x3x4) where n is a value given to you by the user. You may assume n >0.7. Write a loop that sums all the numbers from m to n, where m and n are both user given values. You may assume m>n.

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 Programming Questions!