Answered step by step
Verified Expert Solution
Question
1 Approved Answer
The fire extinguisher in your kitchen loses 10% percent of its foam every day . If the foam of the fire extinguisher is below 2
The fire extinguisher in your kitchen loses 10% percent of its foam every day . If the foam of the fire extinguisher is below 2 pounds, then it is not serviceable. Write a java program that lets the user input the value of the foam in pounds, which must be more than 2 pounds and find how many weeks the fire extinguidher will be serviceable. There are seven days in the week, if the days are 15 then the output should be:
Two weeks and one day.
If the days are less than 7 just print the days
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