C++ Rational Class Project (header, cpp definition, cpp driver)

In Progress Posted 7 years ago Paid on delivery
In Progress Paid on delivery

Need a simple C++ project completed.

Details below:

Create a class called Rational for performing arithmetic with fractions. Write a program to test your class.

((use operator overloading for arithmetic))

Use integer variables to represent the private date of the class (the numerator and denominator). Provide a constructor that enables an object of this class to be initialized when it's declared. The constructor should contain default values in case no initializers are provided and should store the fraction in reduced form. For example:

2/4 would be stored in the object as 1 in the numerator and 2 in the denominator. Provide public member functions that perform each of the following tasks:

((results should be in reduced form))

a) adding two Rational numbers.

b) subtracting two Rational numbers.

c) multiplying two Rational numbers.

d) dividing two Rational numbers.

e) Printing Rational numbers in the form a/b, where a is the numerator and b is the denominator.

f) Printing Rational numbers in floating point format.

Looking to have project completed within the next couple of hours, tops.

C++ Programming

Project ID: #11263628

About the project

9 proposals Remote project Active 7 years ago

9 freelancers are bidding on average $22 for this job

LiangXiaoJin

Dear client, how are you? I am a C++ programmer and mathematician. No problem. Lets do. Can provide you with perfect code within 2 hours. Please check my "Profile & Work List" and consider hiring me if my skill is More

$20 USD in 0 days
(70 Reviews)
7.3
ig149

Hi , c++ Expert here , well your task will be done in very short time .................................................

$20 USD in 1 day
(40 Reviews)
5.0
HafizShahan

I can do it within your time specified and budget hopefully you will find me best freelancer . hope to see you in chat

$20 USD in 1 day
(35 Reviews)
4.5
prolinkerx

Dear sir, I've read your requirements twice carefully. As an MS in Math/Computer Science, this work is very easy to me. I'll complete it within an hour or two with 100% accuracy. Kind regards, Francis T.

$24 USD in 0 days
(3 Reviews)
2.4
ithaider

Dear I am professional expert in Web development and designing. I will provide you good and highest quality work under your requirements and deadline. I have done many projects in website development. thanks

$25 USD in 2 days
(0 Reviews)
0.0
aamirshahzad84

I have hand on experience with c++. I can do this job for you with lowest cost. I am looking forward to hear from you.

$15 USD in 1 day
(0 Reviews)
0.0
ShinsetsuDesuka

This is pretty simple, and is very similar to class projects for Intro to programming C++. I can complete it over night and send you the code however your prefer.

$25 USD in 2 days
(0 Reviews)
0.0