Skip to content

Commit

Permalink
TCS NQT
Browse files Browse the repository at this point in the history
  • Loading branch information
Pratiksha Shinde committed Oct 16, 2020
1 parent 5e766d7 commit 9ab845a
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions Simple_Interest.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#include <iostream>
#include <bits/stdc++.h>
using namespace std;

int main()
{
float P, n, r, SI;
cin >> P;
cin >> n;
cin >> r;
SI = ((P*n*r)/100);
cout << fixed << setprecision(6) << SI;
}
Binary file added Simple_Interest.exe
Binary file not shown.

0 comments on commit 9ab845a

Please sign in to comment.