Compute interest on a short-term loan and print its result.
The given input data are P for pesos; R for annual interest and L for the number of days of the loan.

Use the formula:
I=P*R*(L/365)

#include<iostream>
using namespace std;

int main(void)
{
float I,P,R,L;
cout<<“Input pesos:”;
cin>>P;
cout<<“Input annual interest:”;
cin>>R;
cout<<“Input number of days of the loan:”;
cin>>L;
I=P*R*(L/365);
cout<<“the result is: “<<I;

return 0;
}