Simple Interest

PHOTO EMBED

Sun Dec 03 2023 06:45:00 GMT+0000 (Coordinated Universal Time)

Saved by @nistha_jnn #c++

#include <bits/stdc++.h>
using namespace std;

int main() {
	double p,r,t;
	cin>>p>>r>>t;
	double in=(p*r*t)/100;
	cout<<fixed<<setprecision(6)<<in;
	return 0;
}
content_copyCOPY

The value should be accurate upto exactly 6 decimal places.

https://workat.tech/problem-solving/practice/simple-interest