CAN YOU HELP ME GUYS? COZ ITS TO BE SUBMITTED TODAY 10 AM PH time

PREMID

1. Define two strings called employee and company along with a float called
rate and an integer called hours. Initialize employee to "RobDaBlob" and
assign "J J Buttons" to company. Ask for the employee's rate and hours.
Calculate his take-home pay as 10% less than the product of the rate and
hours. Display a report similar to what is shown here:

SAMPLE OUTPUT:

Give RobDaBlob's rate and hours: 8.00 10
RobDaBlob worked 10 hours.
The rate of pay was 8 dollars per hour.
The gross pay was $80.
And the take-home pay was $72.
RobDaBlob works for J J Buttons.



HELP PLEASE :(
Last edited on
GUYSSSS
You must be kidding! You expect us to help you cheat on your schoolwork for free and then get bump your post after 10 minutes?!? $80 for the solution. PayPal is fine... 8^D
BTW, "PH time"? Maybe you should call it Eastern Standard or New York Time so people know what you're talking about. ;-) (It's Philippines in case anyone's interested so it's too late.)
Last edited on
Easy enough.

You should know how to define the strings well enough.

Define:

pay
rate
hours
deduction
net

rate = 8
hours = 10
pay = rate*hours
deduction = pay*0.10
net = pay-deduction
Last edited on
Physically coding that shouldn't be difficult. Up to you how to display it.
Topic archived. No new replies allowed.