Calculate the Simple Interest after 2 years - Ruby Practice Question

in #ruby2 years 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.

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

Sort:  

Congratulations @spydo! You have completed the following achievement on the Hive blockchain And have been rewarded with New badge(s)

You distributed more than 74000 upvotes.
Your next target is to reach 75000 upvotes.

You can view your badges on your board and compare yourself to others in the Ranking
If you no longer want to receive notifications, reply to this comment with the word STOP

Check out the last post from @hivebuzz:

HiveBuzz World Cup Contest - Recap of Day 9
Hive Power Up Day - December 1st 2022
HiveBuzz World Cup Contest - Check your ranking
Support the HiveBuzz project. Vote for our proposal!