Question: i have been doing this for multiple times but i keep getting 66%. i am incomplete for the result. please take a look at my

Instructions > Terminal QuartsToGallans.java 1 public class QuartsToGaltons.java 2 public static void main(string args) { 3 final int QUARTS_IN_GALLON 45 5 > int quarts Needed18 int quarts - 2 Write a program that declares a constant named QUARTS_IN_GALLON which holds the number of quarts in a gallon (4). Also declare a variable named quartsneeded to represent the number of quarts needed for a painting job, and assign an appropriate value. Compute and display the number of gallons and quarts needed for the job. Display explanatory text with the values--for example, A job that needs 18 quarts requires 4 gallons plus 2 quarts sandbox S.mn of ..class sandbox $ sandbox $ sandbox $ Bavac Quartstogallons. Jav a Quartstogallons.java:1: error:'( expected public class Quartstogallons.fava ( 1 error Sandbox 5 Java QuartsTogallons Error: Could not find or load nain class Quartstogallons sandbok SO System.out.println("A job that needs quarts Needed"quarts required" + gallonsNeeded/QUARTS_IN_GALLON"gallons plus". quartsNeeded AQUARTS_IN_GALLON "quarts"); 19 10) When submitting the program for testing/grading, assign the value 18 to quart Needed Checks required" quartsNee 9 10 } 11 Test Case Incomplete
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
