Science, asked by pranjalramidwar, 4 months ago

Write a program in C++ to find simple interest.​

Answers

Answered by sougatap57
2

Answer:

#include <iostream>

using namespace std;

int main()

{

  float si,p,r,t;

  cout<<"enter the principal";

  cin>>p;

  cout<<"enter the rate";

  cin>>r;

  cout<<"enter the time";

  cin>>t;

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

  cout<<"the simple interest is"<<si;

  return 0;

}

Output

enter the principal 11000

enter the rate 5

enter the time 2

the simple interest is 1100  

Similar questions