Derek+Num

//Use sensible variable variable names to improve readability of your code

using namespace std;
 * 1) include
 * 2) include 
 * 3) include 

class Rational{ protected: int num, den; public: Rational{num=0; den=0;}; Rational(int n, int d){num = n; den = d;}; void Display{if(den!=1)cout << num << "/" << den;else cout<abs(r)&&abs(e)>1) bah=abs(e); else if(abs(r)>=abs(e)&&abs(r)>1) bah=abs(r); while(bah>=2&&oink==false){ if(e%bah==0&&r%bah==0){ num=e/bah; den=r/bah; oink=true; break; } bah--; } num=e; den=r; } };

int main{ Rational R3; Rational fat(4,2),thin(3,4); thin.DIVIDE(fat); thin.Display; }