87 041
Assignments Done
98.4%
Successfully Done
In May 2020

Answer to Question #42087 in C++ for aboorh

Question #42087
Write a program to calculate Effective Period Rate (EPR) and (ER) Effective Rate: Formula : Effective Period Rate = Nominal Annual Rate / n Example: What is the effective period interest rate for nominal annual interest rate of 5% compounded monthly? Solution: Effective Period Rate = 5% / 12 months = 0.05 / 12 = 0.4167% Formula : Effective Rate = (1 + Nominal Rate / n)n &ndash; 1
1
2014-05-08T08:46:56-0400
#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;}

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Assignment Expert
22.05.14, 16:38

Dear Meme,
If you liked our service please press like-button beside answer field. Thank you!

meme
11.05.14, 14:19

Thank you sooooooooooooo much
I really appreciate the great job you