MCPcopy Create free account
hub / github.com/Rustam-Z/cpp-programming / Compute_Interest

Method Compute_Interest

Lab_15/Source.cpp:205–212  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

203 }
204
205 void Compute_Interest()
206 {
207 Balance();
208 cout << " ROI (Return on Investment) = 4%\n";
209 cout << " Enter the year of investment: ";
210 cin >> year;
211 cout << " Your balance after " << year << " year(s) will be " << balance * pow(1.04, year) << "\n\n";
212 }
213};
214
215int main()

Callers 1

F_Second_ProgramFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected