Find Jobs
Hire Freelancers

College Program Assignment

$30-5000 USD

已完成
已发布将近 23 年前

$30-5000 USD

货到付款
This is an assignment for my college C++ class. Create a SavingsAccount class. Use a static data member to contain the annualInterestRate for each of the savers. Each member of the class contains a private data member savingsBalance incicating the amount the saver currently has on deposit. Provide a calculateMonthlyInterest member function that calculates the monthly interest by multiplying the balance by annualInterestRate divided by 12; this interest should be added to savingsBalance. Provide a static member function modifyInterestRate that sets the static annualInterestRate to a new value. Write a driver program to test class SavingsAccount. Instantiate two different savingsAccount objects, saver1 and saver2 with balances of $2000 AND $3000, respectively. Set AnnualInterestEate to 3%, then calculate the monthly interest and print the new balances for each of the savers. Then set the annualInterestRate to 4% and calculate the next month's interest and print the new balances for each of the savers. ## Deliverables Your class functions should not calculate the same equations twice (once for each saver) but should instead be general (we can use them for any number of savers.) Rather your saverOne and saverTwo should be the objects of class SavingsAccount. The file for the main() program must have a header that contains the following information, Program title: Details:(Input, what type of input is required for this code segment to work .Input data types and variable names.) (Output, what output does this code produce. Output data types and variable names.) (Intermediate Variables, types and names) (Global Variables, types and names or none.) Design: A description of the algorithm or logic used in the design of the program. Steps used to create the program solution. Include any neccessary explanations to understand the program. ## Deadline information Must be completed by 6/16/01 because it is due for class.
项目 ID: 2822863

关于此项目

8提案
远程项目
活跃23 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
颁发给:
用户头像
See private message.
$22.50 USD 在14天之内
4.9 (17条评论)
3.2
3.2
8 freelancers are bidding on average $26 USD for this job
用户头像
See private message.
$18.70 USD 在14天之内
5.0 (80条评论)
5.2
5.2
用户头像
See private message.
$25.50 USD 在14天之内
5.0 (48条评论)
5.2
5.2
用户头像
See private message.
$42.50 USD 在14天之内
4.6 (5条评论)
3.4
3.4
用户头像
See private message.
$20.19 USD 在14天之内
5.0 (3条评论)
0.8
0.8
用户头像
See private message.
$34 USD 在14天之内
5.0 (3条评论)
0.7
0.7
用户头像
See private message.
$17 USD 在14天之内
0.0 (0条评论)
0.0
0.0
用户头像
See private message.
$25.50 USD 在14天之内
0.0 (1条评论)
0.0
0.0

关于客户

UNITED STATES的国旗
United States
5.0
9
会员自5月 23, 2001起

客户认证

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