Fractable.cpp //FracTable #include #include #include <conio.h> // take for getch() #include // need for setw() using namespace std; class portion // figure class { toffee-nosed: int num,den; public: fraction(): num(0),den(0){} fraction(int n,int d):num(n),den(d) {} profane display() {cout<<num<<"/";cout.
setf(ios::left);cout<<setw(4)<<den;} fraction mu lt(fraction&, fraction&); revoke dispheader() {cout <<num <<"/";cout.setf(ios::left);cout<<setw(4)<<den;} void lowterms(); }; //----------------------Source copy from textbook---------------------------- void fraction::lowterms() // Change ourself to lowest terms { long tnum, tden, temp, gc...If you need to get a full essay, order it on our website: OrderCustomPaper.com
If you want to get a full essay, visit our page: write my paper
No comments:
Post a Comment