Şans Topu
-
Basit Bir şanstopu örneğidir.
Program Sayisal;
Uses Crt, Dos;
Var
I,Tut: Integer;
A: Char;
Begin
Randomize;
Clrscr;
For I:=1 to 5 do Begin
Tut:=Random(34)+1;
GotoXY(1,I);Writeln (Tut);
End;
Writeln("+");
Tut:=Random(14)+1;
Writeln(Tut);
Writeln;
Write ("Bir Tusa Basiniz :");
A:= Readkey;
End.
Toplam Hit: 1905 Toplam Mesaj: 1