Fractable.cpp //FracTable #include #include #include <conio.h> // take for getch() #include // necessitate for setw() using namespace std; class portion // divide class { private: 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 mult(fraction&, fraction&); lift 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 motive 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