Question
The manager of Guaranteed Gaskets has discovered a leak in the warehouse attic. Its raining, so he has placed a 25-liter bucket under the leak
The manager of Guaranteed Gaskets has discovered a leak in the warehouse attic. Its raining, so he has placed a 25-liter bucket under the leak to catch the rain. He wants you to design a program to keep track of the amount of rain accumulated in the bucket as long as its raining. Every 10 minutes, youre to check the water level in the bucket and record it in the program. If the level is 20 liters or higher, the program should display a message reminding you to empty the bucket and put it back. Otherwise, the program should display a message reminding you to come back in 10 minutes and run the program again.Using pseudocode, design a complete algorithm for displaying different messages based on the water level in the bucket. Save your pseudocode file as rainBucketMonitor.txt. The manager of Guaranteed Gaskets wants to see your program in action, so he asks ytou to develop it in javascript and show him how it works. Convert the pseudocode program you wrote to javascript and then save file as rainBucketMonitor.html
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started