Need a unique gift idea?
A Pastebin account makes a great Christmas gift
SHARE
TWEET

Untitled

a guest Mar 13th, 2018 71 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5.  
  6.     int brojGod;
  7.     double Kamata;
  8.     double PocIznos;
  9.    
  10.     cout << "Unesite broj godina: ";
  11.     cin >> brojGod;
  12.     cout << "Unesite Kamatnu stopu: ";
  13.     cin >> Kamata;
  14.     cout << "Unesite pocetni iznos: ";
  15.     cin >> PocIznos;
  16.  
  17.     double Ustedeno = Kamata*PocIznos*(brojGod - 1) + (PocIznos*(brojGod + 1));
  18.  
  19.     system("cls");
  20.     cout << "Ukupna ustedevina iznosi: " << Ustedeno << " kn" << endl;
  21.     cin.get();
  22.    
  23.     main();
  24.  
  25.     return 0;
  26. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top