Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write the flowchart, pseudo code, and javascript to solve the following problem: Prompt the user to enter the total hours worked for each of 4

Write the flowchart, pseudo code, and javascript to solve the following problem:

Prompt the user to enter the total hours worked for each of 4 week (4 individual prompts, one for each week). Prompt the user to enter the amount they are paid per hour. Calculate the net amount paid for each week. Calculate the taxes the user will have to pay for each week, assuming a 20% tax rate. Calculate the gross amount that the employee is paid for each week. Calculate the grand total net amount the employee is paid, the grand total tax amount the employee is must pay, and the grand total gross amount the employee is paid. Create variables for each of the 4 weeks hours, the pay for each of the 4 weeks, the taxes for each of the 4 weeks, the gross pay for each of the 4 weeks, the grand total net pay, the grand total tax, the grand total gross pay. A constant should be used for the 20% tax rate. Be sure to modularize your program.

Flow Chart

Pseudo Code

JavaScript

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

Database Concepts

Authors: David M. Kroenke

1st Edition

0130086509, 978-0130086501

More Books

Students also viewed these Databases questions

Question

What is the Definition for Third Normal Form?

Answered: 1 week ago

Question

Provide two examples of a One-To-Many relationship.

Answered: 1 week ago