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.
TIMESTAMPS
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