Now you can Subscribe using RSS

Submit your Email

program to calculate simple interest: Do You Really Need It?

A LIFE ABK





c/c++ program solver,c++ program, new program, program code ,programing question

write a program to calculate simple interest in c++



In this example, we will explain to you write a program to calculate simple interest in c++. To understand this topic it is necessary to have knowledge of simple interest. Please read this article carefully so that you can understand the program to calculate simple interest.











First of all, you can imagine the output screen then build your logic.




Enter principle amount: 5000
Enter the rate of interest: 5
Enter the time in year:1
Your interest is:1500.00
your simple interest is: 51500.00











You must have this knowledge






Program Logic




This is a simple program. first of all, identify simple interest formula.




write a program to calculate simple interest





Algorithm



  1. Start
  2. Declare three variable float type.
  3. Input user values pri_amount, rate, and time
  4. apply simple interest formula.
  5. print result
  6. Stop

Simple Interest program










😊

Now next you are, write your code in the comment below.😊

A LIFE ABK / Author & Editor

0 Comments:

Post a Comment

Please do not enter any spam link in the comment box.

Coprights @ 2021-2022, Ancient Code Designed By AbK