Simple Interest Calculation (P × T × R)/100 Dry Run in PYTHON

Simple Interest Calculation (P × T × R)/100 is an interactive PYTHON dry run visualizer from the Io programs section. Study the source code, then use the execution controls to follow each step, variable update, highlighted line, and console output.

This page provides a browser-based dry run with source-code highlighting, auto-scroll, voice narration controls, and execution output for learning the program step by step.

Simple Interest Calculation (P × T × R)/100 Program Code

# Simple Interest Calculator
principal = float(input("Enter principal amount: "))
rate = float(input("Enter rate of interest: "))
time = float(input("Enter time (in years): "))

simple_interest = (principal * rate * time) / 100
amount = principal + simple_interest

print(f"\nPrincipal: ₹{principal:.2f}")
print(f"Rate: {rate}%")
print(f"Time: {time} years")
print(f"Simple Interest: ₹{simple_interest:.2f}")
print(f"Total Amount: ₹{amount:.2f}")

View the complete Io programs page.

Program Console Simple Interest Calculation (P × T × R)/100 Topic: PYTHON Vignaankosh.com
Execution Panel
Step 0/0
Console is empty.