How Software Gets Done  


Login

Software Buyers
Request bids
Search coders
My Buyer Account
Buyer help
Buyer articles
Buyer FAQ
Latest news
 
Software Coders
Newest open work
Browse all work
Search all work
My Coder Account
Coder help
Coder articles
Coder FAQ
Latest news
 
Affiliates
My Affiliate Account
Affiliate help
Affiliate FAQ
Latest news
 
Newest Bid Requests.
(See all)
Secure Virtual File System
By Ben Gray2 on Jul 31
Max Bid: $350


Hot Keys
By Marce22 on Jul 31
Max Bid: $55


mp3 uploader
By thesecretmasons on Jul 31
Max Bid: Open to fair suggestions


very basic java assignment
By lilbeginner on Jul 31
Max Bid: $10


browser toolbar
By Adel on Jul 31
Max Bid: Open to fair suggestions


3 banners
By madduxsports on Jul 31
Max Bid: $75


Click here to put this ticker on your own site and/or get live RSS newsfeeds

Open Work Categories.
Database 
(154 open)
   Access 
(57 open)
   MySQL 
(88 open)
   Oracle 
(13 open)
   SQL Server 
(70 open)
   Other DB 
(26 open)
Documentation / Tech Writing 
(26 open)
   Language (Human) Translations 
(2 open)
Data Entry 
(24 open)
Game Development 
(19 open)
Graphics / Art / Music 
(55 open)
   Graphics 
(62 open)
     Adobe AfterEffects 
(7 open)
     Adobe Photoshop 
(34 open)
     Adobe Premiere 
(4 open)
     3d Animation 
(14 open)
   Art (Misc.) 
(17 open)
   Music 
(13 open)
   Photography 
(4 open)
   3d Modeling 
(8 open)
Language Specific 
(113 open)
   ASP 
(64 open)
   ASP .NET 
(53 open)
   C# 
(43 open)
   C++ / C 
(135 open)
   Carbon (Mac OS) 
(3 open)
   Cocoa / Obj-C 
(2 open)
   Cold Fusion 
(12 open)
   Delphi 
(47 open)
   Java 
(74 open)
   JSP 
(10 open)
   Perl 
(35 open)
   Python 
(1 open)
   PHP 
(84 open)
   XML/XSL 
(38 open)
   Visual Basic 
(145 open)
   Visual Basic .Net 
(83 open)
   Other 
(60 open)
Misc 
(30 open)
   CAD 
(3 open)
MultiMedia 
(33 open)
   Video Editing 
(5 open)
Network 
(43 open)
   Network Design 
(5 open)
   Network Implementation 
(15 open)
Platforms 
(67 open)
   Windows 
(171 open)
     MS Exchange 
(5 open)
     MS Office 
(16 open)
     Other 
(8 open)
   Internet Browser 
(41 open)
   Linux 
(56 open)
   UNIX 
(21 open)
   Hand Held/PDA Programming 
(12 open)
Requirements 
(16 open)
Security 
(36 open)
Testing / Quality Assurance 
(19 open)
Web 
(169 open)
   Page Design 
(89 open)
   Flash 
(49 open)
   Web Services 
(75 open)
   Web (Other) 
(72 open)
Training 
(14 open)
   Computer Based 
(11 open)
Other
 
Other Sites

Download the free Rent A Coder IE toolbar!
 
Show Bid Request

RatioNumber
Bid Request Id: 4504
Bookmark in my 'To Do' list
Posted by: Apollo7227 (4 ratings)
(Software buyer rating 10)
Non-action Ratio: Very Good - 0.00%
Buyer Security Verifications: Unverified
Approved on: Nov 4, 2001
2:38:59 AM EDT
Bidding Closes: Nov 6, 2001
8:00:00 AM EDT
Viewed (by coders): 362 times
Phase:
100% of work completed and accepted. Coder has been paid.
Max Accepted Bid: Bidding is closed
Project Type: Personal Project / Homework Help
Bidding Type: Open Auction
Categories: C++ / C
Enter chat room for this bid request
(0 active users at Jul 31, 2003 10:47:54 PM EDT)

Description:
Create a workspace folder named 'RatioNumber'. In this project you will create a class 'Ratio' for performing arithmetic operations with fractions. The class definition, int main() function and standardize() function given below must be used with out modification in the assignment. class Ratio { public: Ratio(int = 0, int = 1); // default constructor Ratio operator + (Ratio &); // to perform x + y Ratio operator - (Ratio &); Ratio operator * (Ratio &); Ratio operator / (Ratio &); bool operator = = (Ratio &); // for a/b and c/d, a/b = = c/d means a*d = = b*c friend ostream & operator << (ostream &, Ratio &):, friend istream & operator >> (istream &, Ratio &); private: int numerator, denominator; void standardize(); }; Call the class definition file as 'Ratio.h,' the function definition file as 'Ratio.cpp' and client file as 'RatioNumber.cpp.' Your client program must test the operators that you have defined in the class. The int main function must be the following. int main() { Ratio x, y; cout << “Enter a ratio in the form a/b: “; cin >> x; cout << “You have entered: x = “ << x << endl; cout << "Enter a ratio in the form a/b: “; cin >> y; cout << "You have entered: y = ” << y<< endl; cout << "x + y = “ << x+y << endl; cout << "x - y = ” << x-y << endl; cout << "x * y =” << x*y << endl; cout << "x / y =” << x/y << endl; if (x = = y) cout << x << “equal to “ << y << endl; else cout << x << “not equal to “ << y << endl; return 0; } I could not fit all the assignment on this part the 2nd half is on the deliverables section

Deliverables:
The standardize function is the following. void Ratio::standardize() { if (denominator < 0) { numerator = -numerator; denominator = -denominator; } for (int i = denominator; i >= 2; i--) if (numerator/ i *i == numerator && denominator/i*i == denominator) { // if i divides both numerator and denominator exactly then divide them by i numerator = numerator/i; denominator = denominator/i; } A sample run of your program Enter a ratio in the form a/b: 2/6 You have entered: x = 1/3 Enter a ratio in the form a/b: 1/4 You have entered: y = 1/4 x + y = 7/12 x - y = 1/12 x * y = 1/12 x /y = 4/3 1/3 not equal to 1/4 Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.

Special Conditions / Other:
It is due Tuesday Morning so I need it Monday evening if not sooner.


Remember that contacting the other party outside of the site (by email, phone, etc.) on all business projects < $500 (before the buyer's money is escrowed) is a violation of both the software buyer and seller agreements. We monitor all site activity for such violations and can instantly expel transgressers on the spot, so we thank you in advance for your cooperation. If you notice a violation please help out the site and report it. Thanks for your help.
 
Bidding/Comments:
All monetary amounts on the site are in United States dollars.
Rent a Coder is a closed auction, so coders can only see their own bids and comments. Buyers can view every posting made on their bid requests.

See all rejected bids (and all comments)
Name   Bid Amount 
 
Date   Coder Rating  
This bid was accepted by the buyer!
Sammy Leong
(78 ratings)
in Scarborough, Ontario
Canada
Bid id: 45,368
 
$15 (USD) Nov 4, 2001
11:05:08 AM EDT
 10
(Excellent)
   
Hello J.R.Duke,
I can creating this project by continueing the previous Rational class I've done for you easily.
I can finish this in less than an hour.
Looking forward to your reply.
Best regards,
Sammy Leong</br>
 




Bid Request Search
 Advanced Search
Newest Open Work
Latest News  
Credentials


 

 
Rent A Coder upholds the rigorous business practices required to be both a BBB member and Square Trade vendor.
  • All customer issues addressed within 2 days
  • Openly disclosed pricing and return policies
  • Participation in mediation at buyer request
  • Superior selling track record
This site is verified through its parent company, Exhedra Solutions, Inc.
 
Top Coders.

Anuj Gakhar
Rated a 9.96 on 104 jobs 
Securenext
Rated a 9.96 on 114 jobs 
Buddies
Rated a 9.83 on 81 jobs 
Andrei Remenchuk
Rated a 10 on 14 jobs 
Codman
Rated a 9.97 on 151 jobs 
Michael Sharp
Rated a 9.98 on 182 jobs 
D-N-S
Rated a 9.93 on 38 jobs 
markesh
Rated a 10 on 22 jobs 
teleCODERS
Rated a 9.93 on 67 jobs 
Maxnet Technologi es Private Limited
Rated a 9.92 on 75 jobs 

See all top coders...

(What makes a top coder?)

Top Exam Scorers

 
Other
Rent A Coder is PayPal verified through its parent company, Exhedra Solutions, Inc.

Created in partnership with:

 

Affiliate Sites
Latest News | About Us | Kudos | Feedback/Contact    Affiliates | Advertise    Privacy | Legal

Copyright 2001, Exhedra Solutions, Inc. All rights reserved.
By using this site you agree to its Terms and Conditions.
"Rent A Coder" (tm), "Safe Project Escrow" (tm) and "How Software Gets Done" (tm)
are trademarks of Exhedra Solutions, Inc.