PsychicFreak
Member
- Joined
- Jun 6, 2008
- Sythe Gold
- 0
- Messages
- 53
guys how do i make a C program that asks 3 numbers from the user. The 1st value represents hourly pay, second is the number of hours worked and 3rd is the percentage of gross salary. The program multiplies the hourly pay rate by the number of hours worked giving the gross pay. then it multiplies the gross pay by the withholding percentage giving the withholding amount. Subtract withholding amount from the gross pay giving the next pay.
heres the output
-gross pay
-withholding amount
- net pay
Data type
-hourly pay rate (float)
-no. hours worked (int)
-percentage (float)
nid help guys pls
heres the output
-gross pay
-withholding amount
- net pay
Data type
-hourly pay rate (float)
-no. hours worked (int)
-percentage (float)
nid help guys pls


