Find Jobs
Hire Freelancers

C++ fraction comparison program

$30-5000 USD

Geschlossen
Veröffentlicht vor fast 22 Jahren

$30-5000 USD

Bezahlt bei Lieferung
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++.
Projekt-ID: 2857929

Über das Projekt

1 Vorschlag
Remote Projekt
Aktiv vor 22 Jahren

Möchten Sie etwas Geld verdienen?

Vorteile einer Ausschreibung auf Freelancer

Legen Sie Ihr Budget und Ihren Zeitrahmen fest
Für Ihre Arbeit bezahlt werden
Skizzieren Sie Ihren Vorschlag
Sie können sich kostenlos anmelden und auf Aufträge bieten
1 Freelancer bieten im Durchschnitt $43 USD für diesen Auftrag
Avatar des Nutzers
See private message.
$42,50 USD in 14 Tagen
0,0 (0 Bewertungen)
0,0
0,0

Über den Kunden

Flagge von UNITED STATES
United States
5,0
2
Mitglied seit Apr. 25, 2002

Kundenüberprüfung

Danke! Wir haben Ihnen per E-Mail einen Link geschickt, über den Sie Ihr kostenloses Guthaben anfordern können.
Beim Senden Ihrer E-Mail ist ein Fehler aufgetreten. Bitte versuchen Sie es erneut.
Registrierte Benutzer Veröffentlichte Jobs
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Vorschau wird geladen
Erlaubnis zur Geolokalisierung erteilt.
Ihre Anmeldesitzung ist abgelaufen und Sie wurden abgemeldet. Bitte melden Sie sich erneut an.