Find Jobs
Hire Freelancers

Fraction Calc.

$30-250 USD

In Progress
Posted over 14 years ago

$30-250 USD

Paid on delivery
Your task is to improve program 2 (which will be provided upon selecting you to complete this project) and make it bigger and better in the following ways. First, a fraction will now have a sign, a whole part, a numerator and a denominator. You must use polymorphism to eliminate redundant code in main, and all appropriate operators should be overloaded for the Fraction and Problem classes. A valid sign will be ‘+’ or ‘-‘, a valid whole part or numerator will be any non-negative integer value, and a valid denominator will be any positive integer value. All parts of the fraction (sign, whole, numerator, and denominator) must be entered on the SAME line. You are not able to ask for the numerator and the denominator, etc, separately The main program should have the following options: 1. Enter Left Fraction 2. Enter Right Fraction 3. Add 4. Subtract 5. Multiply 6. Divide 7. Show all Relationships (between left and right: ==, >, <, !=, >=, <=) 8. Quit
Project ID: 553837

About the project

1 proposal
Remote project
Active 14 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
Awarded to:
User Avatar
as agreed upon :)
$38 USD in 2 days
5.0 (3 reviews)
3.0
3.0

About the client

Flag of UNITED STATES
Eighty Four, United States
5.0
4
Member since Sep 29, 2009

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.