Workers of Maunlad Canning Inc. have 40 regular working hours per week and are paid with an hourly rate based on their years of service in the company as shown in the table below: Years of service Rate per hour 1 100 2 - 3 200 4-5 350 6 - 7 8 and above 450 600 However, if a worker rendered more than 4 hours in 1 week, the excess hours are paid 75% more. Design an HTML page that inputs the employee's years of service and the number of hours rendered by a worker in 1 week then display the salary.
Workers of Maunlad Canning Inc. have 40 regular working hours per week and are paid with an hourly rate based on their years of service in the company as shown in the table below: Years of service Rate per hour 1 100 2 - 3 200 4-5 350 6 - 7 8 and above 450 600 However, if a worker rendered more than 4 hours in 1 week, the excess hours are paid 75% more. Design an HTML page that inputs the employee's years of service and the number of hours rendered by a worker in 1 week then display the salary.
Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
Related questions
Question
Javascript

Transcribed Image Text:This page says
ASSESSMENT # 2
Please choose Vears of Service
Number of Hours: 41
OK
Years of Service:
O 1 Year
O 2 to 3 Years
O 4 to 5 Years
O 6 to 7 Years
O S Years and above
Compute
ASSESSMENT # 2
Number of Hours: 41
Years of Service:
O 1 Year
O 2 to 3 Years
O 4 to 5 Years
O 6 to 7 Years
8 Years and above
Compute
Your salary is 4175
ASSESSMENT # 2
Number of Hours: 41
Years of Service:
O 1 Year
O 2 to 3 Years
O 4 to 5 Years
O 6 to 7 Years
O 8 Years and above
Compute
Your salary is 18787.5

Transcribed Image Text:PROBLEM:
Workers of Maunlad Canning Inc. have 40 regular working hours per week and are paid with an
hourly rate based on their years of service in the company as shown in the table below:
Years of service
Rate per hour
1
100
2 - 3
200
4 - 5
6 - 7
8 and above
350
450
600
However, if a worker rendered more than 4 hours in 1 week, the excess hours are paid 75%
more. Design an HTML page that inputs the employee's years of service and the number of
hours rendered by a worker in 1 week then display the salary.
Sample Output
This page says
ASSESSMENT # 2
Please enter hours
Number of Hours:
OK
Years of Service:
O 1 Year
O 2 to 3 Years
O 4 to 5 Years
O 6 to 7 Years
O 8 Years and above
Compute
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 3 steps with 7 images

Recommended textbooks for you

Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON

Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science

Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning

Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON

Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science

Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning

Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning

Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education

Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY