Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <string>
- using namespace std;
- //Program qe ngre nje numer ne fuqi te trete.
- int main()
- {
- int baza;
- int rezultati; // kjo duhet inicializuar me 1
- cout << "Fut bazen: ";
- cin >> baza;
- for(int i = 0; i < 3; i++)
- {
- rezultati = rezultati * baza;
- }
- cout << "Rezultati eshte: " << rezultati << endl;
- system("pause");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement