76 361
Assignments Done
Successfully Done
In May 2019

Answer to Question #13537 in C++ for harini

Question #13537
Create a class RationalNumber for representing such numbers. There are 2 private data members named numerator and denominator of type int.
Expert's answer
class RationalNumber{
int numerator, denominator;
void represent(){
& cout<<numerator<<"/"<<denominator<<"\n";

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!


No comments. Be first!

Leave a comment

Ask Your question

Privacy policy Terms and Conditions