I need help Writing a program that declares a named constant to hold the number of quarts in a gallon (4). Also declare a variable to represent the number of quarts
needed for a painting job. Name the variable quartsNeeded, and assign 18 to
it. Compute and display the number of gallons and quarts needed for the job.
Display explanatory text in the format A job that needs 18 quarts requires 4
gallons plus 2 quarts.
import java.util.Scanner;
public class PS2p1 {
public static void main(String[] args) {
// TODO Auto-generated method stub
// Declare a constant for the number of quarts in a gallon
int qrtsinaglln = 4;
float qrtsNeeded = 18;
float gallns;
float remainingqrts;
// INPUTFACE
Scanner inputdevice = new Scanner(System.in);
qrtsinaglln=inputdevice.nextInt();
//Process
gallns = qrtsNeeded / qrtsinaglln;
remainingqrts = qrtsNeeded % qrtsinaglln;
//OUTPUT
System.out.println("A job needs"+qrtsNeeded Quarts Required"+gallns"gallons plus"+remainingqrts"; "
+ "