Calculate the s.i

Description:

Write a program which accept principle, rate and time from user and print the simple interest. Test Case 1 Input (stdin) 5000 15 2 Expected Output 1500 Test Case 2 Input (stdin) 2000 10 1 Expected Output 200

Program :

#include <iostream>

using namespace std;

int main()

{

   int p,r,t,si;

  cin>>p>>r>>t;

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

  cout<<si;

return 0;

}