public class gallon{
public static void main (String[] args)
{
double lengthRoom;
double widthRoom;
double heigthRoom;
double winA;
double winB;
double room;
double windows;
double area;
double gallon;
lengthRoom = 12;
widthRoom = 10;
heigthRoom = 8;
winA = 5 * 3;
winB = 6 * 2;
room = lengthRoom * widthRoom * heigthRoom;
windows = winA + winB;
area = room - windows;
gallon = area / 100;
System.out.println("Amount of painter need = " + gallon + " gallon paint");
}
}
Thursday, March 6, 2008
Subscribe to:
Post Comments (Atom)

1 comment:
When you want to take the next step to creating a wonderful view for your home, choosing the right Arlington Heights window company can make a huge difference. To learn more about arlington heights window company, visit on hyperlinked site.
Post a Comment