Question: You are required to write code for the scenario explained in the lab to create salary calculator for the following: S.No. Designation Reg w Min
You are required to write code for the scenario explained in the lab to create salary calculator for the following: S.No. Designation Reg w Min W Max W Per Hour Overtime Hrs hrs Hrs Rate Rate Manager 8 4 8 250 Not Allowed Receptionist 10 200 225 Clerk 12 150 175 4 Peon 8 8 12 100 125 1 2 8 5 3 8 000 un 6 Test cases are: Test No No of Hrs W 8 1 2 Designation Manager Manager Manager Manager 4 Total Salary 2000 1000 1750 Error 3 7 4. 10 Remarks Positive Positive Positive Error - Ask no of hrs again, between 4 to 8 Error - Ask no of hrs again, between 4 to 8 5 Manager 3 Error
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
