

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


Quiz: Wednesday. Material in Chapters 1 and 2. Read: Chapter 3, section 3.1 to 3.11. Partner assignment sheets Quiz Review โ Go over review questions that I handed out last time. Last Time We looked at the NumberDisplay class:
The % operator calculates the remainder of integer division. [Give an example โ divide 53 by 4 using longhand]. Then ask what is the remainder of 17 / 4. What is the value of these expressions? 5 % 2 10 % 3 4 % 7 5 % 5 What possible values could this expression produce: x % 5? So, what is the above statement doing?