>/*Write a complete program with definitions of the class Rational with its method defined inside Programmed by: Name: Jitendra Kumar Yadav Roll no.: 10116 Programmed on: 17th july,2011*/ #include <iostream.h> #include <conio.h> class Rational { private: int n; int d; public: void show() { cout << n<<“/”<<d<<endl; } void assign(int a,int b) { n= a; […]








