JavaScript Assignment #1

You need to write the pseudocode or draw the flowchart for the problems you need to solve. Pass in the pseudocode or flowchart along with the JavaScript that I can run.

Problem #1: Take in the height, width and length of a box and determine the volume. (remember volume is height times width times length). Display the result.
Problem #2: Take in the total amount of a donation you pledged and the number of payments you plan to make and determine the amount of each payment. So if you pledge 100 and say you are making 4 payments that means 25 dollars per payment. Display the payment amount.

Problem #3: Take in the inches of snow from three storms. Calculate the total amount of snow that fell and the average snow fall and display both results.

Problem #4: You need to take in the price of three items a customer bought, determine the total price before tax, determine the tax using the tax rate of 5.5% and then determine the total price after taxes. The output should show the total price before tax, the tax and the total price after taxes. Identify what each result you show is - for example display the words the total price before tax and then display the result of that calculation.

Problem #5: You have received 4 numeric grades for the semester. Grades can range from 0 to 100. The first grade counts for 15% of you final grade. The second grade counts for 25% of your final grade. The third grade counts for 20% of your final grade. The fourth grade counts for 40% of your final grade. Calculate and display your final numeric grade. Extra credit if you display the letter grade as well.

Problem #6: You need to calculate an employees pay. To do this you will need to take in the following four inputs: You should ask a question to determine if the employee worked over their contracted hours and then calculate the appropriate pay. Test this problem with information about an employee who did not work over their contracted hours and again for an employee who did work over their contracted hours. See if they both work.