Hi, I thought the answer would be simply x/12 but the teacher said it wold be (x/12) + 1, my only guess is that because we have integer division, we will lose remainder so adding one would ensure we...
Type: Posts; User: kowaii
Hi, I thought the answer would be simply x/12 but the teacher said it wold be (x/12) + 1, my only guess is that because we have integer division, we will lose remainder so adding one would ensure we...
We are not allowed to run the code, just doing it by hand. The question is:
Coffee pot holds 12 cups, if x in an integer represent the amount of cups you need to drink, find the number of pots you...