Ruby Practice Question 3 - Calculate the Simple Interest after 2 years

in #rubyhindi4 months ago

Ruby Practice Question: Ram give 500 Rs to Shayam and Shaym promised to return the total amount after 2 years. With a simple interest of 8%. Create a program in ruby to calculate the total amount to be paid by Shyam.


0:00 Describe the question to be solved in this tutorial.
0:18 Ram gives an amount to Shyam for 2 years, calculate SI?
0:53 Giving solution of a given problem in ruby.
2:20 Calculating the simple interest.
2:53 Calculating the total amount.
3:22 Executing the final code to get the total amount
4:10 Thank you for watching

Coin Marketplace

STEEM 0.21
TRX 0.06
JST 0.026
BTC 28617.74
ETH 1797.73
USDT 1.00
SBD 2.84