🔒 Closed C++ programming- Patulong po baguhan lang po kasi

Status
Not open for further replies.

Soobin_ms

Eternal Poster
1. Consider the problem of calculating a paycheck. The pay is calculated by multiplying the number of hours worked by the rate of pay. All hours greater than 40 are calculated at time and half. Correct any steps below that are in error.
a. Get the number of hours worked.
b. Get the rate of pay.
c. Get the amount pay.
d. Find the amount of pay at the base salary.
e. Find the number of overtime hours.
f. Find the number of hours at the regular pay.
g. Find the amount of pay at overtime rate.
h. Calculate the paycheck using the following equation:
Pay=hoursWorked * rateOfPay + overtimeHours * pay* 1.5

2. Create a program that display your 5-personal information.
 
Status
Not open for further replies.

About this Thread

  • 0
    Replies
  • 249
    Views
  • 1
    Participants
Last reply from:
Soobin_ms

Online now

Members online
979
Guests online
847
Total visitors
1,826

Forum statistics

Threads
2,276,258
Posts
28,968,746
Members
1,231,191
Latest member
yonam
Back
Top