Eternity Async Tutoring

People learn and work with integers before reals. It’s typical to learn that 20/7 = 2 with a remainder of 6 before learning about fractions.

Signed and unsigned integers are complex details. I was just trying to bring up basic stuff.

hint 2:

Integers and reals have some different operations.

With integers, division cannot give the answer 3.5. It gives an integer answer plus a remainder. So when writing expressions we need two separate operations, each of which gives one part of the answer (the quotient or the remainder). 20/7=2 and 20%7=6.

For reals, some important operations are ceil and floor (which round up or down to the nearest integer).