Skip to content

Program to calculate Simple Interest #1

@vaidik-coder

Description

@vaidik-coder

#include <stdio.h>

int main() {
float P, T, R;
printf("Enter Principal, Time, Rate: ");
scanf("%f %f %f", &P, &T, &R);

float SI = (P * T * R) / 100;
printf("Simple Interest = %.2f\n", SI);

return 0;

}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions