#include <iostream>
#include <conio.h>
using namespace std;
int main() {
double nr;
int n;
cout << "Enter nominal rate: ";
cin >> nr;
cout << "Enter n: ";
cin >> n;
nr*=0.01;
cout.precision(4);
cout << "Effective Period Rate = " << fixed << nr/n*100 << "%\n";
cout << "Effective Rate = " << fixed << ((1 + nr/n)*n-1)*100 << "%\n";
return 0;
}
Comments
Dear Meme, You're welcome. We are glad to be helpful. If you liked our service please press like-button beside answer field. Thank you!
Thank you sooooooooooooo much I really appreciate the great job you
Leave a comment