Write a C program to compute:§ (a) Simple Interest, S.I = Principal*Rate*Time/100§ (b) Compound Interest C.I = P(1+(r/n))nt25

Question

Write a C program to compute:§ (a) Simple Interest, S.I = Principal*Rate*Time/100§ (b) Compound Interest C.I = P(1+(r/n))nt25
🧐 Not the exact question you are looking for?Go ask a question

Solution 1

Sure, here is a simple C program to calculate both Simple Interest and Compound Interest:

#include<stdio.h>
#include<math.h>

int main() {
    float principal, rate, time, simple_interest, compound_interest;
    int n;

    printf("Enter the principal amount: ");
    scanf("%f", &principal);


    Knowee AI StudyGPT is a powerful AI-powered study tool designed to help you to solve study prob
Knowee AI StudyGPT is a powerful AI-powered study tool designed to help you to solve study problem.
Knowee AI StudyGPT is a powerful AI-powered study tool designed to help you to solve study problem.
Knowee AI StudyGPT is a powerful AI-powered study tool designed to help you to solve study problem.
Knowee AI StudyGPT is a powerful AI-powered study tool designed to help you to solv

This problem has been solved

Similar Questions

Write a C program to compute:§ (a) Simple Interest, S.I = Principal*Rate*Time/100§ (b) Compound Interest C.I = P(1+(r/n))nt25

Difference between the compound interest (compounded annually) and simple interest on a sum of ₹ 4900 at a certain rate for 2 years is ₹ 100. Find the rate.

The interest value I of a principal P, after n number of years for an interest rate i and a future value F is given as:

Which of the following formulas correctly represents the calculation for compound interest?*I = (P×r×t)/100I=P×r×tA=P(1+r)^tI=P×(1+rt)

Simple interest on sum of money ios 36/81 of the principal and no of years is equal to the rate of interest. Find the rate of interest per annum.

1/3