Friday, October 22, 2021

C program to calculate simple interest

Here you will get C program to calculate simple interest. The formula for simple interest is given below:

P x r x t ÷ 100

Where:

  •  P is principal
  •  r is rate
  • t is time.

Lets have a look on program to calculate simple interest.

C Program to Calculate Simple Interest

#include<stdio.h>

void main()

{

    float p,r,t,si;

    printf("Enter principal,rate and time:");

    scanf("%f%f%f",&p,&r,&t);

    si=(p*r*t)/100;

    printf("\nSimple Interest = %f",si);

}

Output:

Enter principal,rate and time:50000

8

1

Simple Interest = 4000.000000

3 comments:


  1. Thanks for this information. it is helpfull and worthy
    Laptop Repair Center offers quality service for your laptop at a reasonable cost. We offer doorstep support, 24*7 onsite support, repair all brand laptops, have an expert team for onsite support, and much more. for more contact us on 7291903784
    laptop repair center in Delhi

    ReplyDelete
  2. thank u for this valuable information..very helpful
    Family Chaat is one of the best selling north indian food booth such as Pani Puri, Aloo Tikki Chaat, Bhalla Papari, Gol Gappa Chaat, Cholay Tikki, Papri chaat, Samosa cholay, Samosa chaat, Raj kachori chaat, Pao Bhaji, Vada Pao, and Samosa Bada Pao. Family Chaat is made available to every customer with unique flavor, quality taste, and hygiene and we are the best chaat provider in India.
    street food indian

    ReplyDelete
  3. i found it very helpful. thank u

    Mast Banarasi Paan is one of the best selling paan such as Rajwadi paan, Laddu paan, Choclate Paan, Fire paan, Silver paan. Mast Banarasi Paan is made available to every customer with unique flavor, quality taste, and hygiene and we are the best paan provider in India.
    banarasi paan

    ReplyDelete