Calculate the Simple Interest after 2 years - Ruby Practice Question

spydo(58)
Published in
#ruby
Words
102
Reading
1 min
Listen
Play
4y

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

#rubyhindi #ruby #rubytutorial #rubyPracticeQuestion

Calculate the Simple Interest after 2 years - Ruby Practice Questio... | Ecency