Question: Lab 4 ARM Program Basic Prompt the user to enter a number between 1 and 100. Reject any invalid user inputs and terminate the program.

Lab 4 ARM Program Basic

Prompt the user to enter a number between 1 and 100. Reject any invalid user inputs and terminate the program.

From 1 to the user entered number print out the number and the sum of all the integers to that point.

Terminate the program when all the numbers from 1 to the user entered number is printed.

Example of what the output should look like:

This program will print the sum of the integers from 1 to a number you enter. Please enter an integer number from 1 to 100.

You entered 4. Following is the number and the sum of the integers from 1 to n.

NumberSum

1 1
2 3
3 6
4 10

Your program needs to be well commented.

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!