Question: Create a program that asks the user for numbers and shows him the sum of the numbers he enters. After the user enters a number
Create a program that asks the user for numbers and shows him the sum of the numbers he enters.
After the user enters a number and the program will show the amount sum up to that point, the user should then be asked if he wants to continue. In this way, the program will stop until the user indicates it. When the program asks the user if he wants to continue, depending on the user's response, he should be shown an appropriate message like "Final Sum" or the last amount sum till that point. If the user responds to an option that is not contemplated, the program must inform and return to the last checkpoint..
Programming language needed: Bash
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
