Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Example: Write a program that obtains two integer numbers from the user. It will

ID: 440691 • Letter: E

Question

Example: Write a program that obtains two integer numbers from the user. It will print out the sum of those numbers. Pseudo code: Prompt the user to enter the first integer Prompt the user to enter a second integer Compute the sum of the two user inputs Display an output prompt that explains the answer as the sum Display the result In this project, create the pseudo code for the following request. The Pseudo code is not a working program and you should follow the above provided guidelines to complete this assignment. You must cover the following points as minimum requirements in your project. The program must have some sort of menu that allows users to make selections to do a particular calculation must provide at least five menu items that allow the user to make a calculation Once the user makes a calculation, he/she will return to the main menu.

Explanation / Answer

Sum of two numbers 2. Subtract two numbers 3. Average two numbers 4. Multiply two numbers 5. Divide two numbers 6. Exit """)def inputSelection(): theMenu() selection = int( raw_input('Make a selection: ') ) return selectiondef doSelection( selection ): if ( selection == 1 ): a1 = int( raw_input('What is the first number? ') ) a2 = int( raw_input

Dr Jack
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Chat Now And Get Quote