Best writers. Best papers. Let professionals take care of your academic papers

Order a similar paper and get 15% discount on your first order with us
Use the following coupon "FIRST15"
ORDER NOW

integer

I know I’m missing something to indicate the rounding to the nearest integer but I can’t put it together……

  // Calculate and output the number of 1 gallon cans needed to paint the wall, rounded up to nearest integer
      cansNeeded = gallonsPaintNeeded/gallonsPerCan;   //Hint: this line is missing two operations
      System.out.println(“Cans needed: ” + cansNeeded + ” can(s)”);

 
"Looking for a Similar Assignment? Order now and Get 10% Discount! Use Code "Newclient"