Question: Write a program called batteryChargeXYZ.java ( replace XYZ by your first and last names ) . Prompt the user to enter current battery charge percentage

Write a program called batteryChargeXYZ.java (replace XYZ by your first and last names).Prompt the user to enter current battery charge percentage (a double number from 0 to 100).If the charge is 100%, then display "Fully charged"If the charge is 90% to 99.99% then display "Very good charge"If the charge is 70% to 89.99% then display "Good charge"If the charge is 50% to 69.99% then display "Fair charge"If the charge is 20% to 49.99% then display "Low charge"If the charge is 10% to 19.99% then display "Very low charge"If the charge is less than 10% display"Critically low charge"

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!