27.12.2014 Views

B.Tech(CS) 3rd to 8th Sem - MDU, Rohtak

B.Tech(CS) 3rd to 8th Sem - MDU, Rohtak

B.Tech(CS) 3rd to 8th Sem - MDU, Rohtak

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

void reduce( ) that reduces the rational number by eliminating the highest common fac<strong>to</strong>r<br />

between the numera<strong>to</strong>r and denomina<strong>to</strong>r.<br />

Overload + opera<strong>to</strong>r <strong>to</strong> add two rational number.<br />

Overload >> opera<strong>to</strong>r <strong>to</strong> enable input through cin.<br />

Overload

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!