project 6 assignment

project 6 assignment - Assignment Overview: This assignment...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Assignment Overview: This assignment focuses on the design, implementation and testing of programmer- defined data types. You are to develop a C++ class which supports the manipulation of “Fractions”, as described below. Assignment Specifications: 1) The class which you will develop is outlined in the following file: ---- (I’ve included this) ---- That file specifies the set of permitted operations for the type “Fraction”, which may not be modified. You will supply the appropriate declarations in the “private” section of class “Fraction”, as well as the implementation of each permitted operation. 2) A valid fraction is defined as an ordered pair of integers A/B, where B is not equal to zero. Internally, a fraction will be maintained in its simplest (reduced) form. 3) The format of a fraction in an input stream will be an integer (the numerator), the character “/”, and an integer (the denominator). 4)
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 3

project 6 assignment - Assignment Overview: This assignment...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online