Lab 9: Objects
Write a program that prompts for two test scores and two quiz scores from 0 to 100. Have the program calculate the quiz average and the test average and assign a passing or failing grade based on the higher of the two averages.
Do this using a test object with three properties, one for each test score and one for the average. Similarly use a quiz object with three such properties. The output should tell the user if he/she passes or fails, along with his/her test and quiz averages.
Save your file as lab9.html.