Question
use python code Amira is a homely child who is diligent in saving money. He has a total of Rp. 6,000,000 / year in pocket
use python code
Amira is a homely child who is diligent in saving money. He has a total of Rp. 6,000,000 / year in pocket money given by his father. Every month he always sets aside 40% of his allowance. Amira plans to buy a laptop for IDR 20,000,000. The DP for the laptop is 25% of the total price of the laptop. Please help Amira to calculate how long (in a matter of months) she has to save in order to pay down the laptop. (Assume the price of the laptop is fixed.)
Examples of expected inputs: Enter the total allowance: 6000000. Enter the price of the laptop: 20000000 Examples of expected output: For a long time Amira had to save 25 months
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started