Skip to content
This repository has been archived by the owner on Jun 14, 2024. It is now read-only.

Create Function #169

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions Function
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#include<stdio.h>

int main()

{

int p,r,t,int_amt;

printf("Input principle, Rate of interest & time to find simple interest: \n");

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

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

printf("Simple interest = %d",int_amt);

return 0;

}

// calculate si date 4/10/21