Show Bid Request
Easy ones
Bid Request Id: 29930
|
|
|
Posted by: |
needit (3 ratings)
(Software buyer rating 10)
|
Posted: |
Oct 5, 2002 3:42:55 PM EDT
|
Bidding Closes: |
Oct 19, 2002 3:49:46 PM EDT
|
Viewed (by coders): |
214 times
|
Deadline: |
10/20/2002
TIME EXPIRED
|
|
|
|
Description:
Program 1
If the number is even, divide it by 2. If the number is odd, multiply it by 3 and then add 1. For example, if the original number were 13, the algorithm would generate the following sequence of numbers: 13, 40, 20, 10, 5, 16, 8, 4, 2, 1. This sequence has 10 terms counting the original number and the 1.
Write a program that accomplishes the following three functions: Prompts the user for a positive integer input, or a zero to exit. This prompt should be repeated if the user enters a negative number. Outputs all the numbers in the sequence produced by the Ulam algorithm. Counts how many numbers are in the sequence, and outputs the count.
------------------------------------------------------- Program 2 A standard science experiment is to drop a ball and see how high it bounces. This establishes a "bounciness" index equal to the original height divided by the bounce height. The bounciness index is between 0 and 1 (including 0 but not including 1). This index is independent of the original height. For example, if the original height were 10 feet and the bounciness index were 0.6, the height of the first bounce would be 6 feet (10 * 0.6); and the height of the second bounce would be 3.6 feet (6 * 0.6). The total distance traveled on a bounce is the distance down plus the bounce up. Write an interactive program that accomplishes the following three functions: Gets the height and bounciness from the user. The height must be at least 0 and the bounciness must be equal to or greater than 0 and less than 1. You must error check both of these inputs. Calculates the total distance that the ball travels in 100 bounces and finds the height of the final bounce.
Deliverables: 1) Complete and fully-functional source code.
2) Need it ASAP.
Platform:
Pascal Delphi 6
Must be 100% finished and received by buyer on:
Oct 20, 2002 EDT
Deadline legal notes: All times are expressed in the time zone of the site EDT (UT - 5). If the buyer omitted a time, then the deadline is 11:59:59 PM EDT on the indicated date.
Special Conditions / Other:
I need it by tomorrow Sunday the 6th.
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, you can report it to: abuse@rentacoder.com.
|
|
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!
|
$6 (USD)
|
Oct 5, 2002 6:11:11 PM EDT
|
10
(Excellent)
|
|
|
I am giving you Program 1 (no source though) which took me about 5 minutes. I can do the other in the same time. The source code will be fully documented.
Please accept my bid as I do not yet have a rating and need someone to rate me on this site. |
|
Attached File
|
|
|
|
|