Question: how does this look in raptor? a ) Ask the user for the number of employees in a company for which we like to calculate

how does this look in raptor?
a) Ask the user for the number of employees in a company for which we like to
calculate pay. Make sure the number of employees entered by the user is between
1 and 100. If the user enters an invalid input for the number of employees, issue
an error message and ask again.
b) Then, input the given number of employees last name, hours worked and pay
rate. You need to use 3 arrays, one for the names, one for the hours worked
and one for pay rate.
c) Display the header PAY REPORT.
d) Display the names, hours worked and pay rate. Display the data in a tabular
format (look at my example, below). Tabular format just means that you display
all the arrays in one loop. Dont worry about the exact formatting if the data
doesnt line up depending on the names you enter.
e) Calculate pay, by multiplying hours and rate and store the data in another array.
f) Calculate and display the total of the pay for all employees.
g) Display the header FINAL PAY REPORT IN REVERSE of INPUT!.
h) Display the name, hours worked, pay rate and the pay for all employees in a
tabular format in the reverse order the data was entered (see the example in the
sample run). NOTE: YOU ARE NOT sorting the data. You just write the last
element of the array first, etc

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!