Find Jobs
Hire Freelancers

C++ fraction comparison program

$30-5000 USD

Closed
Posted almost 22 years ago

$30-5000 USD

Paid on delivery
Define an ADT for rational numbers. Represent rational numbers as two values of the type int, one for the denominator, one for the nominator. Include a constructor with two arguments to set the member variables to any legitimate values. also include a constructor that has only a single parameter of typ e int. Call the parameter whole_number and define the constructos so that the object will be initialized to the rational number whole_number/1. Aslo include a default cistructor that initializes an object to 0. Overload the input and output opertors >> and <<. Numbers are to be input and output in the form 1/2 15/32 etc. The numerator, the denominator, or both may contain amnus sign, so that -1/2 may also be input. Define the ADT in seperate files, 1 for header, 1 for impletation, and one for application. must also have a test program to test it. You should also include a function to normalize the values stored so that, after normalization, the denominator is postive and the numerator and denominator is as small as possible (reduce to lowest common demoniator). ## Deliverables Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. All code must be well commented so that I can understand it and learn from it. I am trying to learn here not copy your code, in a nut shell your being my tutor.. If not well commented then your code will not be accepted. In addition the I may be requesting more examples of additional work from the coder. This has to be done by 30 June 02 6PM EST. ## Platform MS Visual C++.
Project ID: 2857929

About the project

1 proposal
Remote project
Active 22 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
1 freelancer is bidding on average $43 USD for this job
User Avatar
See private message.
$42.50 USD in 14 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
United States
5.0
2
Member since Apr 25, 2002

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.