Computer Science, asked by archanasingh66341, 5 months ago

WAQBP to print simple interest and amount using Input Statement.​

Answers

Answered by valeriy69
3

\small\mathsf\color{pink}{Solution\: using\: python\: 3}

p, r, t = [float(n) for n in input("enter p, r, t: ").split( )]

i = p * (r / 100) * t

print(f"simple interest: {i:.2f}\n amount: {p + i:.2f}")

\small\mathsf\color{lightgreen}useful?\: \color{white}\longrightarrow\: \color{orange}brainliest!

Answered by Anonymous
3

Answer:

p, r, t = [float(n) for n in input("enter p, r, t: ").split( )]

i = p * (r / 100) * t

print(f"simple interest: {i:.2f}\n amount: {p + i:.2f}")

Similar questions