Answer to Question #27401 in Visual Basic for princessa paul

Question #27401
Create a Visual Basic program that computes pay

Use 2 scroll bars to select the hours worked (an integer) and hourly rate (a double)
All buttons and other objects must be named with appropriate names;
When either scoll bar changes use a general sub to compute pay.
If hours is less than or equal to 40, the pay is simply hours times rate.
If the hours is more than 40 the first 40 hours are paid at the regular hourly rate. Each overtime hour is paid at 1.5 times the hourly rate.
Display the pay in a label formatted to 2 decimal places.
0
Expert's answer

Answer in progress...

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
APPROVED BY CLIENTS