c/c++ program solver,c++ program, new program, program code ,programing question
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.
Algorithm
- Start
- Declare three variable float type.
- Input user values pri_amount, rate, and time
- apply simple interest formula.
- print result
- Stop
Simple Interest program
Now next you are, write your code in the comment below.😊
0 Comments:
Post a Comment
Please do not enter any spam link in the comment box.