SHARE
TWEET

Untitled

a guest Feb 19th, 2019 66 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <iostream>
  2. #include <string>
  3.  
  4. using namespace std;
  5. //Program qe ngre nje numer ne fuqi te trete.
  6. int main()
  7. {
  8.     int baza;
  9.     int rezultati; // kjo duhet inicializuar me 1
  10.  
  11.     cout << "Fut bazen: ";
  12.     cin >> baza;
  13.  
  14.     for(int i = 0; i < 3; i++)
  15.     {
  16.         rezultati = rezultati * baza;
  17.     }
  18.  
  19.     cout << "Rezultati eshte: " << rezultati << endl;
  20.     system("pause");
  21. }
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
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top