Question: ACTIONS Your program, when run, should continually prompt the user (using input) to choose between 3 options by entering either 1 or 2 or 3.


ACTIONS Your program, when run, should continually prompt the user (using input) to choose between 3 options by entering either 1 or 2 or 3. Choosing option 1 should cause the program to ask for two inputs a and b and run FUNCTION 1 below using those two inputs. Choosing option 2 should cause the program to again ask for two inputs but instead run FUNCTION 2 below using those two inputs. In either case, your program should again ask the user to choose between the 3 options in an infinite loop. Choosing option 3 should end the infinite loop and end your program. FUNCTION 1: Your program should define a function that accepts two inputs a and b (assumed to be positive integers, 0
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
