Simple JS program
Budget: £10 – £20 GBP
Hi and thank you for checking my project.
Here's what I am looking to get:
X(Initial investment) - $5000
Y(Weekly) - percentage as an input as this changes
Every $1000 made, can be reinvested and added towards the initial investment.
I need a simple JS programme to take X(initial investment) as input and Y(weekly profit) in percentage and show progression in time.
For example:
Day 1 you start with $5000, you make X% a week, when are you gonna get to $1000. Taking into account that this $1000 will be added to the initial $5000 this progresses infinitely.
Here's what I am looking to get:
X(Initial investment) - $5000
Y(Weekly) - percentage as an input as this changes
Every $1000 made, can be reinvested and added towards the initial investment.
I need a simple JS programme to take X(initial investment) as input and Y(weekly profit) in percentage and show progression in time.
For example:
Day 1 you start with $5000, you make X% a week, when are you gonna get to $1000. Taking into account that this $1000 will be added to the initial $5000 this progresses infinitely.