I'm trying to figure how much paint someone will need. I have this right here:
int gallonsPaint = 0;
double paintCost = 0;
gallonsPaint = (int)totalFootage / SQUARE_FOOTAGE;
Anything over 0 should be 1. If gallonsPaint is over 1 then I want to output 2. Anything over 2 should be 3. And so on. What should I do?