O Level Exam : Practical Question
📝 HTML
🎨 CSS
⚡ Java Script
import math prin=float(input("Enter the Principal Amount : ")) rate=float(input("Enter the Rate : ")) time=float(input("Enter the Time (in year) : ")) amt=prin*(math.pow((1+rate/100),time)) ci=amt-prin print("Compound Interest is",ci)
▶ Run Code
🖥 Output: