Find Jobs
Hire Freelancers

Fraction Calc.

$30-250 USD

进行中
已发布超过 14 年前

$30-250 USD

货到付款
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
项目 ID: 553837

关于此项目

1条提案
远程项目
活跃15 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
颁发给:
用户头像
as agreed upon :)
$38 USD 在2天之内
5.0 (3条评论)
3.0
3.0

关于客户

UNITED STATES的国旗
Eighty Four, United States
5.0
4
会员自9月 29, 2009起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。