Question: PLEASE HELP WITH JAVASCRIPT!! FILL IN SKELETON CODE. Below are instructions and a Source/Skeleton code that need to be filled in. I don't understand how
PLEASE HELP WITH JAVASCRIPT!! FILL IN SKELETON CODE.
Below are instructions and a Source/Skeleton code that need to be filled in. I don't understand how to make it work.


Here is the skeleton/source code:
Auto Paycheck
| Check Number | |
| Pay Date |
The following fields MUST have information: First Name, Last Name, Address, City, Zip Code, State Once all three fields were populated, and the button pressed, the program's logic (to be implemented) will compute all required components and set them in the proper fields. You only need to populate the following fields within the paycheck: Check Number check Number Box Pay Date payDateBox Dollar Amount (NOT the words, that happens automatically assuming your computation is right) The name of the employee orderName The address of the employee order,Address Money description payMoney Instructions You will complete the implementation of the following functions: function processCheck0 This is the main function, the one which will be called when the button is pressed. From here you will call the other functions in order to obtain all the required information to populate the input fields. Use the given function getValueString(val) were val is a real number value. function getName() A simple function which returns the concatenation of firstname middlename+lastname function getAddress0 Just as getName, but it returns a single string with the following format Address City, State, Zip Note the break line from address to the last line. This can be achieve with the special character In function calculateTotal0 1... return a single value, rounded to TWO digits. You will compute the total Bl-WEEKLY (26 paychecks per year) salary based on the following rules: CAT A Manufacturing $55000 CAT B Accounting $69500 CAT C- Administrative $58700 CAT D IT $73200 Night shift 10% extra Rotating 15% discount for general deductions No Health Plan HMO Health Plan 9% discount PPO Health Plan 11% discount
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
