A constructor that accepts a pair of integers corresponding to the numerator and denominator of the rational number. Thus passing in a numerator of 3 and a denominator of 4 would create an object representing the rational number 3/4.

Printable View

- 09-16-2009slow++Constructor
A constructor that accepts a pair of integers corresponding to the numerator and denominator of the rational number. Thus passing in a numerator of 3 and a denominator of 4 would create an object representing the rational number 3/4.

- 09-16-2009CornedBee
Do you have a question? Please read our homework policy.

- 09-16-2009IceDane
Aww. You're not the sharpest knife in the drawer, are you?

- 09-16-2009slow++
actually it is my first day in this website i dont really know what kind of help should i expact

- 09-16-2009bithub
- 09-16-2009iMalc
Expect the kind of help that you first need to ask for.

For example, the problem could be that you don't know what a rational number is. In which case you would say: "This paragraph talks about something called a 'rational number'. What is that?"/ To which we would probably tell you to "STFW!".

That's probably not your actual question. So, what is your actual question...? - 09-16-2009cpjust