Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- krizic kruzic pocetak....
- void kruzic_krizic {
- char polje[9] = {'-','-', '-', '-', '-', '-', '-', '-', '-'}
- for (i = 1; i < 10; i++) {
- if (i % 3 != 0) {
- cout << polje[i - 1] << '\t';
- }
- else {
- cout << polje[i - 1];
- }
- int x = 0;
- int o = 0;
- if (x==0)
- {cout<<"polje je zauzeto"<<endl }
- else {
- cin >> i;
- polje[i - 1] = 'x';
- }
- }
Add Comment
Please, Sign In to add comment