Write an algorithms to calculate the simple interest using the formula
Answers
Answered by
0
Calculate simple interest -algorithm, Basic Computer Science
Read the values of principal amount, time and rate of simple interest into the locations labelled as P, T, R.
- Set the count T to 1 implying the end of a year.
- Calculate. S.I = PTR/100.
- Write the current values of T and S.I.
- Increase T by 1.
- If T≤5, complete the steps from 3 to 6.
- Else, stop.
Answered by
2
Answer:
Step 1:Start.
Step 2:Read Principal Amount, Rate and Time.
Step 3:Calculate Interest using formula SI= ((amount*rate*time)/100)
Step 4:Print Simple Interest.
Step 5:Stop. // CPP program to find compound
Similar questions