Make a program that has a menu like the following: (Design is optional)
All menu option should be put in a function.
***************************************************
* YOURNAME CPE112 Special Exam Menu Programs *
* Press (1) for Square of a Number *
* Press (2) for Salary Computation *
* Press (3) to Exit *
***************************************************
If 1 is pressed, it will do the following:
Write a program that will illustrate the use of a function for computing the square of a number. The first function must be responsible for inputting the number, the second for computation of squares, and the third for displaying the result.
When done, ask user to repeat or go back to main menu.
If 2 is pressed, it will do the following:
Write a program that computes the employee’s payroll of ABC Company. The user is first asked to enter the employee’s name, hourly wages, and number of hours worked for the week. Then
when that is done the employee’s data, which consist of the employee’s name, their gross (wages
* hours), and their Net (gross after a 12% tax rate and 50 pesos insurance fee mandatory to all employees), has to be shown.
Sample Input:
Please Enter Employee’s Name: Juan dela Cruz
Please Enter Employee’s Hourly Wage: 115.75
Please Enter Employee’s Hours Work this Week: 40
Sample Output:
Employee’s Name: Juan dela Cruz Hourly Rate: 115.75
Hour’s Work: 40
Gross Income: 4630.00
Insurance Fee: 50.00
Tax Fee: 555.60
Net Income: 4024.40
When done, ask user to repeat or go back to main menu.
If 3 is pressed, the program will exit.
DescriptionIn this final assignment, the students will demonstrate their ability to apply two ma
Path finding involves finding a path from A to B. Typically we want the path to have certain properties,such as being the shortest or to avoid going t
Develop a program to emulate a purchase transaction at a retail store. Thisprogram will have two classes, a LineItem class and a Transaction class. Th
1 Project 1 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of
1 Project 2 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of