Computer Science, asked by loganiveny, 1 year ago

A bank account contains 10,000 and earns interest at the rate of 5 percent per year. The interest is
added to the account. After one year the bank account contains the original sum of 10,000 plus the
interest, which is 5% of 10,000, i.e., 10,000 *(5/100).
So, the final account balance is 10000 + 10000 * (5/100) = 10000 * (1 + (5/100)) = 10000 * 1.05
(a) Write Python code script to calculate the balance in account as per this after one year.
(b) Write Python code script to calculate the balance in account as per this after four years
while showing balance after every year.
(c) Write Python script that displays the number of takes for the account balance to be at least
double the original balance.​

Answers

Answered by khayumavajira
0

Answer:

write python code script to calculate the blance in account as per thisafter one year

Answered by gurpreetkapoor2007
2

Answer:

There you go

Explanation:

p=10000

r=5

t=1

for i in range (1,5):

si= p*r*t/100

p=p+si

print ("Amount received after" ,i, "year" ,p )

done.

please follow

Similar questions