Question: write a C# program . (Using Visial Studio C# ) Use 2 scrollbars to select the hours worked (an integer from 0 to 70) and
Use 2 scrollbars to select the hours worked (an integer from 0 to 70) and hourly rate (a double from 7.00 to 60.00 ) All buttons and other objects must be named with appropriate names; When either scrollbar changes use a void function 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. It is your responsibility to thoroughly test your program. Please explain all command and logics. Please Make sure the program runs without any errors
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
