e a simple payroll program that will display employee’s information. Refer to the UML Class Diagram for the names of the variable and method. This should be the sequence of the program upon execution: a. Prompt the user to input the name of the employee. b. Prompt the user to select between full time and part time by pressing either F (full time) or P (part time). c. If F is pressed, ask the user to type his monthly salary. Then, display his name and monthly salaray. d. If P is pressed, ask the user to type his hourly rate and hours worked separated by a space. Then display his name and wage.
Max Function
Statistical function is of many categories. One of them is a MAX function. The MAX function returns the largest value from the list of arguments passed to it. MAX function always ignores the empty cells when performing the calculation.
Power Function
A power function is a type of single-term function. Its definition states that it is a variable containing a base value raised to a constant value acting as an exponent. This variable may also have a coefficient. For instance, the area of a circle can be given as:
Write a simple payroll program that will display employee’s information. Refer to the UML
Class Diagram for the names of the variable and method. This should be the sequence of the
program upon execution:
a. Prompt the user to input the name of the employee.
b. Prompt the user to select between full time and part time by pressing either F (full
time) or P (part time).
c. If F is pressed, ask the user to type his monthly salary. Then, display his name and
monthly salaray.
d. If P is pressed, ask the user to type his hourly rate and hours worked separated by a
space. Then display his name and wage.
Step by step
Solved in 2 steps