CSCI 216 Spring 2015

Project #5

 

Date Due:  4 December 2015

 

Purpose: To use templates.

 

Program objective:  This program will template the calculator class so we can have multiple calculator types.

 

Instructions:  Take the calculator class we have been working on and template it to work with any number type instead of just fractions.  Then use the provided main program to test it out using both an integer and a fraction calculator.

 

So that you don’t have to worry about the main program, some sample code for it is on Blackboard.