Skip to content

Commit

Permalink
Merge pull request Ishaan28malik#1572 from kunal0287/patch-1
Browse files Browse the repository at this point in the history
Update Simple-Interest.cpp
  • Loading branch information
Ishaan28malik authored Oct 31, 2020
2 parents 79e15b4 + dfd403e commit f856c82
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Mini-Projects/CPP/Simple-Interest.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#include<iostream>
#include <stdio.h>

using namespace std;
int main() {
//principle amount
Expand All @@ -12,5 +13,6 @@ int main() {
float SI = 0;
SI =(p * t * r) / 100;
printf("Simple Interest = %f ",SI);

return 0;
}

0 comments on commit f856c82

Please sign in to comment.