Find Jobs
Hire Freelancers

Assignment 3A

$30-5000 USD

Closed
Posted over 20 years ago

$30-5000 USD

Paid on delivery
Write a C/C++ program to compute the number of days for the following scheme. The recipient receives a penny on day 1 and the amount is doubled on subsequent days. That is on day 2 the amount received is 2, on day three 4 pennies, day four 8 pennies and so on. The recipient accumulates the amount received. Write a program to compute how many days will it take for the recipient to accumulate more than 100 dollars of instance. Develop a function that returns the number of days. The prototype or declaration of the function should be as shown here : int Accum( int). The parameter represents the dollar amount. Inside the function this amount must be converted to cents as the initial starting amount is stated in pennies. Submit program code and program output that states the number of days as well as the amount on that day in dollars and cents. Test your program for 50 and 100 dollars. All code must be documented and the code should be readable. Select variable names that are suggestive of their properties. Use indentation to match program structure and constructs. ## Deliverables 1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Complete ownership and distribution copyrights to all work purchased. ## Platform Windows Xp, MS Visual C++
Project ID: 2976315

About the project

41 proposals
Remote project
Active 21 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
41 freelancers are bidding on average $13 USD for this job
User Avatar
See private message.
$17 USD in 3 days
4.8 (122 reviews)
6.7
6.7
User Avatar
See private message.
$12.75 USD in 3 days
5.0 (72 reviews)
6.6
6.6
User Avatar
See private message.
$17 USD in 3 days
5.0 (99 reviews)
6.5
6.5
User Avatar
See private message.
$5.95 USD in 3 days
5.0 (160 reviews)
6.0
6.0
User Avatar
See private message.
$8.50 USD in 3 days
4.9 (172 reviews)
5.9
5.9
User Avatar
See private message.
$8.50 USD in 3 days
4.4 (72 reviews)
5.5
5.5
User Avatar
See private message.
$8.50 USD in 3 days
4.9 (101 reviews)
5.1
5.1
User Avatar
See private message.
$17 USD in 3 days
5.0 (39 reviews)
5.0
5.0
User Avatar
See private message.
$21.25 USD in 3 days
4.7 (41 reviews)
4.7
4.7
User Avatar
See private message.
$34 USD in 3 days
4.9 (37 reviews)
4.6
4.6
User Avatar
See private message.
$3.40 USD in 3 days
5.0 (46 reviews)
4.6
4.6
User Avatar
See private message.
$8.50 USD in 3 days
4.8 (61 reviews)
4.5
4.5
User Avatar
See private message.
$5.10 USD in 3 days
4.9 (93 reviews)
4.3
4.3
User Avatar
See private message.
$4.25 USD in 3 days
5.0 (16 reviews)
4.0
4.0
User Avatar
See private message.
$5.95 USD in 3 days
4.9 (36 reviews)
3.8
3.8
User Avatar
See private message.
$3.40 USD in 3 days
4.9 (48 reviews)
3.8
3.8
User Avatar
See private message.
$102 USD in 3 days
4.7 (15 reviews)
3.8
3.8
User Avatar
See private message.
$8.50 USD in 3 days
5.0 (17 reviews)
3.5
3.5
User Avatar
See private message.
$8.50 USD in 3 days
4.1 (12 reviews)
3.5
3.5
User Avatar
See private message.
$6.80 USD in 3 days
5.0 (19 reviews)
3.2
3.2

About the client

Flag of KOREA, REPUBLIC OF
Korea, Republic of
5.0
7
Member since Sep 17, 2003

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.