• API
• FAQ
• Tools
• Archive
daily pastebin goal
20%
SHARE
TWEET

# Untitled

a guest Jun 13th, 2018 58 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
1. if(kwardrat2=='n')
2.    {
3.       if(turn=='o')
4.       {
6.          kwardrat2='o';
7.
8.   int liczba;
9.   int los;
10.   while (liczba=1)
11.   {
12.   srand( time( NULL ) );
13.   los=(rand() % 10)+1;
14.   switch(los)
15.   {
16.   case 1:
17.
19.   {
22.    liczba=1;
23.   }
24.   break;
25.   case 2:
26.
27.   if(kwardrat2=='n')
28.   {
30.    kwardrat2='x';
31.    liczba=1;
32.   }
33.   break;
34.   case 3:
35.
36.   if(kwardrat3=='n')
37.   {
39.    kwardrat3='x';
40.    liczba=1;
41.   }
42.   break;
43.   case 4:
44.
45.   if(kwardrat4=='n')
46.   {
48.    kwardrat4='x';
49.    liczba=1;
50.   }
51.  break;
52.   case 5:
53.
54.   if(kwardrat5=='n')
55.   {
57.    kwardrat5='x';
58.    liczba=1;
59.   }
60.   break;
61.
62.   case 6:
63.
64.   if(kwardrat6=='n')
65.   {
67.    kwardrat6='x';
68.    liczba=1;
69.   }
70.   break;
71.   case 7:
72.
73.   if(kwardrat7=='n')
74.   {
76.    kwardrat7='x';
77.    liczba=1;
78.   }
79.   break;
80.   case 8:
81.
82.   if(kwardrat8=='n')
83.   {
85.    kwardrat8='x';
86.    liczba=1;
87.   }
88.   break;
89.   case 9:
90.
91.   if(kwardrat9=='n')
92.   {
94.    kwardrat9='x';
95.    liczba=1;
96.   }
97.   break;
98.
99. }
100.
101. }
102.
103.       }
104.       }
105.
106.    sprawdz();
107. }
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.

Top