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?

3 answers

correct.
Are you OK with the coding?
Yes, I'm okay with the coding.
Very good. Keep up the good work.