Cancelled

Help with an Advance C++ withing 30 mins

Question 2: Relations, Relations, Relations …

We constructed the Rat class to model fractions and to give us the ability to compute with them. Since fractions are numeric types, we might want to extend the set of operations on them to include the relational operators. (20 points)

So, if X and Y are Rats we want to be able say X==Y, X>Y, and X<Y. The obvious choice is to add them as member functions.

C++ provides operator==, operator> and operator< that can be overloaded for this purpose. They should be implemented so that they return bools.

The problem:

a) Write operator==(…) that returns true if X==Y and false otherwise.

Note that all equivalent Rats should return true.

So if X = 1 / 2 and y= 2 / 4 the X==Y should return true. (10 points)

b) Write operator>(…) (5 points)

c)Write operator <(…) (5 points)

Skills: C++ Programming, C Programming, C# Programming, Software Architecture

About the Employer:
( 1 review ) Jamaica, United States

Project ID: #25648116

10 freelancers are bidding on average $21/hour for this job

HaryCoders

Thanks for posting " Help with an Advance C++ withing 30 mins " project I read your description carefully. As a software expert, I am very interested in your project. I hope to discuss this project with you. I think we More

$15 USD / hour
(21 Reviews)
4.3
Pashakolp31

Dear Client, my name is Pavel and I’m a Web and Desktop Developer from Russia who is specialized in C++ and C#. You can see my feedback. Please check the URL. [login to view URL] I estimate to com More

$20 USD / hour
(6 Reviews)
2.8
XinChun37

hello. it is just nothing for me. Can you give me your chat? so that i can start immediately. Regard Xin

$40 USD / hour
(3 Reviews)
2.6
(5 Reviews)
2.5
iuriibashkirov

Hi, How are you? I mastered C++, C#, Java programming. Windows Application is my favorite work and I promise you high quality work. As a senior windows app developer, I will do my best to finish your project. I wil More

$25 USD / hour
(2 Reviews)
1.9
tindo9000

I'm ready to overload those operations for you and provide 100% correct answers in 30 minutes as requested. Get in touch to kick-start the implementation right now.

$24 USD / hour
(1 Review)
1.4
yevgeniykostenko

Hello! How are you? I have just read your requirement and I can help you with rich experience and skill. I'm an experienced expert of the C++ and I have a lot of knowledge about C++ progarmme. I can start instantly, yo More

$15 USD / hour
(1 Review)
1.0
ITGuruProger

Hello, My name is Andrei , I've complete MS Software Engineering. I've 5-Year experience in software development and algorithm implementation. My Core Expertise in Java - C++ - C - C# - SQL - object-oriented - Data Str More

$20 USD / hour
(0 Reviews)
0.0
epiklin

epiklin is a company with many software engineers. The company is open at the moment. We could submit your project within the time

$20 USD / hour
(0 Reviews)
0.0
ilkayakyildiz

Hello! Seems like this is basic C++, as a software engineering student I can keep your code in a basic form. I would like to work with you!

$15 USD / hour
(0 Reviews)
0.0