How much interest your savings earn, and what you'll have at the end.
MathsBeginner
Built from 3 kinds of block, between Start and End. Each one has a guide.
B4Coder writes the same program as real code. Change the flowchart in the editor and the code changes with it.
amount = float(input("How much do you save (₹)? "))rate = float(input("Interest rate (% a year)? "))years = int(input("For how many years? "))interest = amount * rate * years / 100total = amount + interestprint("Interest: ₹" + str(interest))print("After " + str(years) + " years you have ₹" + str(total))How each block becomes code: Python · Java · C++ · C# · JavaScript