Username or Email
Password
Remember me
Sign in
Sign up
Add Paste
Add Collection
unnamed file
C/C++
No Description
Guest
Download
Edit
Ziehung
::
Ziehung
(
)
{
// Ziehung durchfuehren
for
(
int
i
=
0
;
i
<
6
;
++
i
)
{
int
j
;
unsigned
int
z
=
1
+
rand
(
)
%
(
49
-
i
)
;
for
(
j
=
0
;
j
<
i
&&
zahlen
[
j
]
<=
z
;
++
j
,
++
z
)
;
for
(
int
k
=
i
;
k
>
j
;
--
k
)
zahlen
[
k
]
=
zahlen
[
k
-1
]
;
zahlen
[
j
]
=
z
;
}
superzahl
=
rand
(
)
%
10
;
}