Question: A Modular Integer Class Out: 9 1 2 Due: 9 2 5 by 1 1 : 5 0 PM Learning Objectives Understand the basics of

A Modular Integer Class
Out: 912
Due: 925 by 11:50 PM
Learning Objectives
Understand the basics of implementing a class
Understand the relationship between the interface, implementation and
client files
Understand the difference between public vs private access modifiers
Understand the basics of overloading binary operators
Understand the role of accessor, mutator and constructor member func-
tions in a class
Definition 1. Modular arithmetic is the arithmetic of congruences, some-
times known informally as "clock arithmetic." In modular arithmetic, num-
bers "wrap around" upon reaching a given fixed quantity, which is known as
the modulus (which would be 12 in the case of hours on a clock, or 60 in
the case of minutes or seconds on a clock). For example, -7,5, and 17 are
ongruent modulo 12. The modulus must be a non-negative integer. Modulo
A Modular Integer Class Out: 9 1 2 Due: 9 2 5 by

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!