15,909,466 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Member 13700405 (Top 4 by date)
Member 13700405
6-Mar-18 1:11am
View
sorry for that..
but i write my code in what i tried but i do not get perfect answer..
so please explain me only point no. 7_ ...because i do not understsnd
what its try to say.....
7_At the end of each month, your savings will be increased by the return on your investment, plus a percentage of your monthly salary (annual salary /12).
Member 13700405
4-Mar-18 22:36pm
View
Deleted
Write a program to calculate how many months it will take you to save up enough money for a down payment. You will want your main variables to be floats, so you should cast user inputs to floats...
and this is some condition and information for it...
1__. Call the cost of your dream home total_cost.
2__. Call the portion of the cost needed for a down payment portion_down_payment. For simplicity, assume that portion_down_payment = 0.25 (25%).
3__. Call the amount that you have saved thus far current_savings. You start with a current savings of $0.
4__. Assume that you invest your current savings wisely, with an annual return of r (in other words, at the end of each month, you receive an additional current_savings*r/12 funds to put into your savings – the 12 is because r is an annual rate). Assume that your investments earn a return of r = 0.04 (4%).
5__. Assume your annual salary is annual_salary.
6__. Assume you are going to dedicate a certain amount of your salary each month to saving for the down payment. Call that portion_saved. This variable should be in decimal form (i.e. 0.1 for 10%).
7__. At the end of each month, your savings will be increased by the return on your investment, plus a percentage of your monthly salary (annual salary /12).
Member 13700405
4-Mar-18 22:34pm
View
Write a program to calculate how many months it will take you to save up enough money for a down payment. You will want your main variables to be floats, so you should cast user inputs to floats..
and this are the condition for that or some information...
1__. Call the cost of your dream home total_cost.
2__. Call the portion of the cost needed for a down payment portion_down_payment. For simplicity, assume that portion_down_payment = 0.25 (25%).
3__. Call the amount that you have saved thus far current_savings. You start with a current savings of $0.
4__. Assume that you invest your current savings wisely, with an annual return of r (in other words, at the end of each month, you receive an additional current_savings*r/12 funds to put into your savings – the 12 is because r is an annual rate). Assume that your investments earn a return of r = 0.04 (4%).
5__. Assume your annual salary is annual_salary.
6__. Assume you are going to dedicate a certain amount of your salary each month to saving for the down payment. Call that portion_saved. This variable should be in decimal form (i.e. 0.1 for 10%).
7__. At the end of each month, your savings will be increased by the return on your investment, plus a percentage of your monthly salary (annual salary /12).
Member 13700405
2-Mar-18 23:35pm
View
no i change code i removed if statement from old code..
and now its look perfect on paper but when i run it i face same problem..
ya but i find a other solution...but not with this method ..
i post it my solution also...
thank you...