Question: Javascript / HTML uestion You work for a retail store that wants to increase sales on Tuesday and Wednesday, which are the store's slowest sales
Javascript / HTML uestion

You work for a retail store that wants to increase sales on Tuesday and Wednesday, which are the store's slowest sales days. Write a defining table and then a program that takes a customer's subtotal as input, and if the subtotal is greater than $50 and today is Tuesday or Wednesday, subtract 10% from the subtotal. Your program should then compute and output the total amount due by adding sales tax of 6% to the subtotal. within your program, use this JavaScript code that will get the current day of the week from your computer's clock: var dayofweek = new Date(),getDay(); If you use the above code, the variable dayofWeek will hold 0 if today is Sunday, 1 if today is Monday, and so on to 6 if today is Saturday
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
