Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Beginning Microsoft SQL Server 2012 Programming

Authors: Paul Atkinson, Robert Vieira

1st Edition

1118102282, 9781118102282

Students also viewed these Databases questions