question archive Earlier in this activity, you created a program that performed a 1irariety of math calculations
Subject:Computer SciencePrice: Bought3
Earlier in this activity, you created a program that performed a 1irariety of math calculations. The program displayed a menu to the user that allowed him or her to select from 3 different mathematical calculations. Once the user made a selection, the program then prompted the user for the required data, performed the calculation, and output the data in a user—friendly.I format. The program then looped back and presented the user with the menu again. The menu also had an option that allowed the user to exit the program. It is now time to create a similar program with a few important differences: in This project should use subroutines for as manyr tasks as possible. Consider creating subroutines to output the user menu, to obtain data from the user, to output the solutions to the calculations, etc. in You should use methods to complete the calculations, and each su'oroutine will return data back to the main program, rather than output the data itself. 9 You should include at least six choices for the user to select.