Question
I am writing a computer program to calculate the number of gallons of water used per day in my household but I want to make sure I am doing the program right.
Ex. (toilet usage)
# of people in household:5
# of times a person flushes per day:5
# of gallons per flush:5
The total should be equal to the # of people in household * # of times a person flushes per day * # of gallons per flush, right?
Ex. (toilet usage)
# of people in household:5
# of times a person flushes per day:5
# of gallons per flush:5
The total should be equal to the # of people in household * # of times a person flushes per day * # of gallons per flush, right?
Answers
MathMate
correct.
Are you OK with the coding?
Are you OK with the coding?
Lisa
Yes, I'm okay with the coding.
MathMate
Very good. Keep up the good work.