Waiting for answer This question has not been answered yet. You can hire a professional tutor to get the answer.

QUESTION

Help with c programming

Write a program which asks the user to enter an integer. The program will then print out all the numbers between 1 and the entered number (inclusive) as well as the total of all these numbers

. It must use a "for" loop to print the numbers

Example interaction:

Please enter a number: 5

1

2

3

4

5

The total is 15

Submit a copy of your ".c" file as well as a screenshot of the program running with an entered number of "4".

Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question