double summ, proc;
cout << "Enter your deposit (UAH):";
cin >> summ;
cout << "Interest rate(%):";
cin >> proc;
proc = (proc / 100.0) / 12;
cout << "Per month " << summ*proc << endl;
system("pause");
cout << "Enter your deposit (UAH):";
cin >> summ;
cout << "Interest rate(%):";
cin >> proc;
proc = (proc / 100.0) / 12;
cout << "Per month " << summ*proc << endl;
system("pause");
Комментариев нет:
Отправить комментарий