| 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 | |
| 215 | int main() |