Show Bid Request
C++ work
Bid Request Id: 8208
|
|
|
Posted by: |
Kash (0 ratings)
|
Posted: |
Jan 30, 2002 8:25:45 PM EDT
|
Bidding Closes: |
Feb 13, 2002 8:27:00 PM EDT
|
Viewed (by coders): |
111 times
|
|
|
|
Description:
a) Odd & Even Consecutive Sums Write a program that takes a positive integer value as input. Continue to prompt the user if anything but a positive integer value is entered. Display all consecutive series of odd numbers or even numbers, in which the sums of the terms add up to the number originally entered. Have the program continue to run until the user enters 0 as a value.
Sample Output: Please enter a positive integer : -32
Please enter a positive integer : 2.643
Please enter a positive integer : xcsadf
Please enter a positive integer : 5 Found an even consecutive series from -3 to 5
Please enter a positive integer : 100 Found an even consecutive series from -98 to 100 Found an odd consecutive series from -47 to 51 Found an even consecutive series from -20 to 28 Found an even consecutive series from -14 to 24 Found an odd consecutive series from 1 to 19 Found an even consecutive series from 16 to 24 Found an even consecutive series from 22 to 28 Found an odd consecutive series from 49 to 51
Please enter a positive integer : 2002 Found an even consecutive series from -2000 to 2002 Found an even consecutive series from -998 to 1002 Found an even consecutive series from -278 to 292 Found an even consecutive series from -170 to 192 Found an even consecutive series from -140 to 166 Found an even consecutive series from -128 to 156 Found an even consecutive series from -68 to 112 Found an even consecutive series from -50 to 102 Found an even consecutive series from 52 to 102 Found an even consecutive series from 70 to 112 Found an even consecutive series from 130 to 156 Found an even consecutive series from 142 to 166 Found an even consecutive series from 172 to 192 Found an even consecutive series from 280 to 292 Found an even consecutive series from 1000 to 1002
Please enter an integer : 0
Thank you!
reality:~]
b) Word Triangle Write a program that prompts the user for a sentence that can possibly contain any number of whitespaces. Using the characters in the sentence, generate the symmetric triangular configuration with each subsequent row containing one more character on each side, as shown below. When forming the triangle using the characters, substititute all spaces, as well as any unfilled positions of the triangle, for the asterisk (*). Have the last row of the triangle be tangent to the edge of the output screen, as shown below.
Sample Output :
Please
Deliverables: Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. Complete copyrights to all work purchased.
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!
|
$16 (USD)
|
Jan 30, 2002 8:38:56 PM EDT
|
9.82
(Excellent)
|
|
|
I am working on it. |
|
|
|
|
|