Question: In this assignment, you will design a simple application which will take stream of numbers and display the summation at the end of the program.
In this assignment, you will design a simple application which will take stream of numbers and display the summation at the end of the program. The application will keep asking for user numbers and keep adding. The user input will be integer numbers and can be positive or negative. The program will repeat until user types EXIT which indicates the user wants to exit the program. After exiting, the program will display the summation of the numbers they entered. For example: if the user enters 2, 10, 1, 2, 40, EXIT; then the program should display the summation of all the numbers which is 55 in this case.
python language
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
