Find Jobs
Hire Freelancers

Classes

$15-20 USD

Ολοκληρώθηκε
Αναρτήθηκε πάνω από 20 χρόνια πριν

$15-20 USD

Πληρωμή κατά την παράδοση
2. **The Problem (an enhanced version of Chapter 11, Programming Problem 3, page 659):** design, implement, and test a Rational class that represents a rational number as a pair of integers instead of a single floating-point number. 3. **More Details:** A rational number is a number that can be expressed as a fraction whose numerator and denominator are integers. Examples of rational numbers are 0.75 (which is 3/4) and 1.125 (which is 9/8). The value p is not a rational number; it cannot be expressed as the ratio of two integers. 1. The *Rational* objects must be stored in their reduced form. In other words, the rational number 12/16 should be stored as 3/4. A private member function Reduce should be provided to reduce the *Rational* object. 2. The *Rational* class should have two class constructors. The first one lets the client specify an initial numerator and denominator. The other??"the default constructor??"creates the *Rational* number 0, represented as a numerator of 0 and a denominator of 1. 3. The *Rational* class should have arithmetic operations that add, subtract, multiply, and divide two *Rational* objects. These should be implemented as value-returning functions, each returning a *Rational* object. 4. The *Rational* class should have a Boolean operation that compares two *Rational* objects for equality. 5. The *Rational* class should have an input operation that reads a rational number from a designated input stream in the form numerator/denominator. 6. The *Rational* class should have an output operation that writes a rational number out to a designated output stream in the form numerator/denominator ## Deliverables 1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request. 3) Exclusive and complete copyrights to all work purchased. (No GPL, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site). ## Platform I use Microsoft Visual Studio C++ to do all my work. The source file has to be in .cpp format.
Ταυτότητα εργασίας: 3006643

Σχετικά με την εργασία

37 προτάσεις
Απομακρυσμένη Εργασία
Ενεργός/ή 20 χρόνια πριν

Ψάχνεις τρόπο για να κερδίσεις μερικά χρήματα;

Πλεονεκτήματα πλειοδοσίας στο Freelancer

Καθόρισε τον προϋπολογισμό σου και το χρονοδιάγραμμα
Πληρώσου για τη δουλειά σου
Περίγραψε την πρόταση σου
Η εγγραφή και η πλειοδοσία σε εργασίες είναι δωρεάν
Βραβεύτηκε στον/στην:
Avatar Χρήστη
See private message.
$7 USD σε 18 ημέρες
5,0 (33 αξιολογήσεις)
5,0
5,0
37 freelancers δίνουν μια μέση προσφορά $11 USD για αυτή τη δουλειά
Avatar Χρήστη
See private message.
$16,15 USD σε 18 ημέρες
5,0 (159 αξιολογήσεις)
6,0
6,0
Avatar Χρήστη
See private message.
$6,80 USD σε 18 ημέρες
4,9 (195 αξιολογήσεις)
5,7
5,7
Avatar Χρήστη
See private message.
$8,50 USD σε 18 ημέρες
4,9 (59 αξιολογήσεις)
5,1
5,1
Avatar Χρήστη
See private message.
$15,30 USD σε 18 ημέρες
4,9 (104 αξιολογήσεις)
4,9
4,9
Avatar Χρήστη
See private message.
$7,65 USD σε 18 ημέρες
5,0 (126 αξιολογήσεις)
4,7
4,7
Avatar Χρήστη
See private message.
$17 USD σε 18 ημέρες
5,0 (54 αξιολογήσεις)
4,6
4,6
Avatar Χρήστη
See private message.
$8,50 USD σε 18 ημέρες
5,0 (20 αξιολογήσεις)
4,4
4,4
Avatar Χρήστη
See private message.
$3,40 USD σε 18 ημέρες
5,0 (22 αξιολογήσεις)
4,2
4,2
Avatar Χρήστη
See private message.
$17 USD σε 18 ημέρες
4,9 (16 αξιολογήσεις)
4,5
4,5
Avatar Χρήστη
See private message.
$6,80 USD σε 18 ημέρες
5,0 (33 αξιολογήσεις)
4,2
4,2
Avatar Χρήστη
See private message.
$12,75 USD σε 18 ημέρες
5,0 (17 αξιολογήσεις)
4,3
4,3
Avatar Χρήστη
See private message.
$17 USD σε 18 ημέρες
5,0 (10 αξιολογήσεις)
3,9
3,9
Avatar Χρήστη
See private message.
$17 USD σε 18 ημέρες
4,8 (27 αξιολογήσεις)
3,7
3,7
Avatar Χρήστη
See private message.
$13,60 USD σε 18 ημέρες
4,7 (15 αξιολογήσεις)
3,8
3,8
Avatar Χρήστη
See private message.
$12,75 USD σε 18 ημέρες
5,0 (42 αξιολογήσεις)
3,7
3,7
Avatar Χρήστη
See private message.
$17 USD σε 18 ημέρες
3,4 (24 αξιολογήσεις)
4,6
4,6
Avatar Χρήστη
See private message.
$17 USD σε 18 ημέρες
5,0 (1 αξιολόγηση)
2,3
2,3
Avatar Χρήστη
See private message.
$12,75 USD σε 18 ημέρες
4,6 (12 αξιολογήσεις)
2,4
2,4
Avatar Χρήστη
See private message.
$17 USD σε 18 ημέρες
3,8 (4 αξιολογήσεις)
2,3
2,3
Avatar Χρήστη
See private message.
$6,80 USD σε 18 ημέρες
5,0 (5 αξιολογήσεις)
1,8
1,8

Σχετικά με τον πελάτη

Σημαία της UNITED STATES
Arlington, United States
5,0
1
Μέλος από Νοε 9, 2003

Επαλήθευση Πελάτη

Άλλες δουλειές από αυτόν τον πελάτη

Arrays
$10-15 USD
Ευχαριστούμε! Σου έχουμε στείλει ένα email με ένα σύνδεσμο για να διεκδικήσεις τη δωρεάν πίστωση σου.
Κάτι πήγε στραβά κατά την προσπάθεια αποστολής του email σου. Παρακαλούμε δοκίμασε ξανά.
Εγγεγραμμένοι Χρήστες Συνολικές Αναρτημένες Δουλειές
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Φόρτωση προεπισκόπησης
Δόθηκε πρόσβαση για Geolocation.
Η σύνδεση σου έχει λήξει και τώρα έχεις αποσυνδεθεί. Παρακαλούμε συνδέσου ξανά.