Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Payroll Processing program Requirements: BE HTML FILE COMPATABLE using Javascript items such as array, loops, functions. A company needs a program to calculate the gross

Payroll Processing program

Requirements: BE HTML FILE COMPATABLE using Javascript items such as array, loops, functions.

A company needs a program to calculate the gross salary to be paid to their employees each week. The program will receive the departments names the employee IDs hours worked and salary per hour. A report will be produced with the weekly salary for regular and overtime hours) for each employee. The report will also include a summary section for the department listing the total regulars hours and overtime hours and the corresponding amounts based for those hours.

The requirements for performing the calculations are as follows:

Definitions:

?Regular hours: hours worked that do not exceed 40 hours.

?Overtime hours: hours worked above 40 hours.

?Regular hours salary: Regular hours x hourly salary.

?Overtime hours salary: Overtime hours x hourly salary x 1.x

?Total employee salary: Regular hours salary + Overtime hours salary.

You will enter a comment on the head section with your name on it.

You will use a text box to get the departments name.

You will use text box to get:

?Employee ID his/her initials)

?Hours worked during the week.

?Hourly salary

Each department may have up to 3 employees.

A button will generate a report which will display on a separate page - including:

? The name of the department.

?The Regular Salary and Overtime salary for each employee.

? A summary section with:

? Department Regular Hours

? Department Overtime Hours

?Total Department Regular Salaries

?Total Department Overtime Salaries

?Total Department Salaries

Another button to clear previous entries and reset memory variables.

You will use a loop- in conjunction with an arras- for the salaries calculations.

The report will be produced using the Dynamic Web page creation techniques using Document Write statements) The report will produce accurate results whether the department may have ones two or three employees.

The variable names should be descriptive.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Beginning C# 5.0 Databases

Authors: Vidya Vrat Agarwal

2nd Edition

1430242604, 978-1430242604

More Books

Students also viewed these Databases questions

Question

5. Understand how cultural values influence conflict behavior.

Answered: 1 week ago

Question

e. What do you know about your ethnic background?

Answered: 1 week ago