Write a program to find the difference between Simple Interest (SI) and
Compound Interest (CI).(Take values of Principal, Rate and Time from user).
[Formula : Sl=( P*R*T)/100, CI =A-P where A=P*(1 +(R/100) )
Answers
Explanation:
please clarify the programing language to use
Answer:
Here is your answer
Explanation:
Program to find Simple Interest and Compound Interest in PL/SQL
In PL/SQL code groups of commands are arranged within a block. A block group related declarations or statements. In declare part, we declare variables and between begin and end part, we perform the operations.
Given principal(p), rate(r), time(t), the task is to calculate the simple interest and compound interest.
Examples:
Input: p = 1500
r = 5
t = 3
Output: SI = 225, CI = 1736.44
Input: p = 2700
r = 7
t = 8
Output: SI = 1512, CI = 4639.1
Formula for Simple Interest:
\begin{math} SI=(P*R*I)/100 \end{math}
Formula for Compound Interest:
\begin{math} CI = P * Power(1 + (R/100) ^ t) \end{math}
Where:
P: Principal (original amount)
R: Rate of Interest (in %)
T: Time period
I HOPE MY ANSWER WILL BE HELPFUL FOR
PLEASE MARK ME AS BRAINLIEST