Advanced Programming in C++ – W4 Assignment
Rational Fractions
Chapter 13 Programming Exercise #10 Page 983
Additional Requirements
Use a template so the class works with any kind of number (i.e. int, float, double)
fractionType
fractionType
Tip: get your class working with integer values first for numerator and denominator and convert to a template after it is working with ints. When converting to a template you may need to move all of your implementation into the .h header file.
Directions
You are to write a C++ program that meets the instruction requirements above. Use the assignment template to insert the assignment deliverables outlined above.
Deliverables
- A description of your program.
- Your C++ source code (do not submit screen shots).
- A screenshot of your program running.
- A short reflection outlining your experience developing the program.
Assignment Rubric
Grading Criteria Assignments
Maximum Points
· A description of the program was not submitted,
· A screenshot of the program execution was not submitted,
· A copy of the program code was not submitted, or
· A reflection of your programming experience was not submitted.
1
Program accomplishes requested operations per instructions
40
The code works and meets all assignment specifications
30
The code is organized and easy to follow and output is clear and clean
20
Uses software tools correctly and efficiently
10
Total
100
Assignment Template
Program Description
Program Code
Program Execution
< A screenshot of a successful compile>
< A screenshot of successful run>
Reflection