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 Coupon Code "Newclient"
https://academicheroes.com/wp-content/uploads/2020/12/logo.png00Hannah Wanguihttps://academicheroes.com/wp-content/uploads/2020/12/logo.pngHannah Wangui2020-03-09 08:36:432020-03-09 08:37:02Calculate and output the number of 1 gallon cans