Geri git   Van.GEN.TR Forum | Yerel Van Forumu > Bilgisayar > Programlama > Pascal

 
 
Konu Araçları Stil
Alt 24/04/07, 00:46   #1
gokhanaygun
Tuğgeneral
 
gokhanaygun - ait Kullanıcı Resmi (Avatar)
 
Üyelik tarihi: Apr 2007
Bulunduğu yer: VAN
Yaş: 37
Mesajlar: 924
Tecrübe Puanı: 26 gokhanaygun is a splendid one to behold gokhanaygun is a splendid one to behold gokhanaygun is a splendid one to behold gokhanaygun is a splendid one to behold gokhanaygun is a splendid one to behold gokhanaygun is a splendid one to behold gokhanaygun is a splendid one to behold
Standart üç taş

uses crt;
var
t,s:array[1..6]of string;
tus:char;
padi,kadi:string;
i:integer;
procedure yeni;
begin
clrscr;textcolor(white);
textbackground(9);writeln;writeln;writeln;
gotoxy(30,4);writeln('YENI KAYIT');
writeln;writeln;gotoxy(5,7);
writeln('yeni kullanici adi ---> ');
writeln;writeln;gotoxy(5,10);
writeln('yeni sifre ---> ');
writeln;writeln;writeln;textcolor(black);
writeln(' sifre 6 karakterden olusmalidir ! ! ');
gotoxy(29,7);readln(kadi);if kadi='' then exit;
i:=1;gotoxy(28,10);repeat gotoxy((28+i),10);
tus:=readkey;if tus='a' then begin
s[i]:='a';write('*');i:=i+1;
if i=7 then exit;end;if tus='b' then
begin s[i]:='b';write('*');i:=i+1;
if i=7 then exit;end;if tus='c' then
begin s[i]:='c';write('*');i:=i+1;
if i=7 then exit;end;if tus='d' then
begin s[i]:='d';write('*');i:=i+1;
if i=7 then exit;end;if tus='e' then
begin s[i]:='e';write('*');i:=i+1;
if i=7 then exit;end;if tus='f' then
begin s[i]:='f';write('*');i:=i+1;
if i=7 then exit;end;if tus='g' then
begin s[i]:='g';write('*');i:=i+1;
if i=7 then exit;end;if tus='i' then
begin s[i]:='i';write('*');i:=i+1;
if i=7 then exit;end;if tus='k' then
begin s[i]:='k';write('*');i:=i+1;
if i=7 then exit;end;if tus='l' then
begin s[i]:='l';write('*');i:=i+1;
if i=7 then exit;end;if tus='m' then
begin s[i]:='m';write('*');i:=i+1;
if i=7 then exit;end;if tus='n' then
begin s[i]:='n';write('*');i:=i+1;
if i=7 then exit;end;if tus='o' then
begin s[i]:='o';write('*');i:=i+1;
if i=7 then exit;end;if tus='p' then
begin s[i]:='p';write('*');i:=i+1;
if i=7 then exit;end;if tus='r' then
begin s[i]:='r';write('*');i:=i+1;
if i=7 then exit;end;if tus='s' then
begin s[i]:='s';write('*');i:=i+1;
if i=7 then exit;end;if tus='t' then
begin s[i]:='t';write('*');i:=i+1;
if i=7 then exit;end;if tus='u' then
begin s[i]:='u';write('*');i:=i+1;
if i=7 then exit;end;if tus='v' then
begin s[i]:='v';write('*');i:=i+1;
if i=7 then exit;end;if tus='y' then
begin s[i]:='y';write('*');i:=i+1;
if i=7 then exit;end;if tus='z' then
begin s[i]:='z';write('*');i:=i+1;
if i=7 then exit;end;until tus=#27;
end;procedure d;begin clrscr;
repeat textcolor(green);textbackground(black);
write(random(9));until 1=5 end;
procedure kontrol;begin clrscr;
textcolor(white);textbackground(9);
writeln;writeln;writeln;gotoxy(30,4);
writeln('SIFRE VE KULLANICI ADI GIRISI');
writeln;writeln;gotoxy(5,7);writeln('kullanici adi ---> ');
writeln;writeln;gotoxy(5,10);writeln('sifre ---> ');
writeln;writeln;writeln;textcolor(black);
gotoxy(24,7);readln(padi);if padi='' then exit;
i:=1;gotoxy(24,10);repeat gotoxy((23+i),10);
tus:=readkey;if tus='a' then begin
t[i]:='a';write('*');i:=i+1;if i=7 then d;end;
if tus='b' then begin t[i]:='b';write('*');i:=i+1;
if i=7 then d;end;if tus='c' then begin
t[i]:='c';write('*');i:=i+1;if i=7 then d;end;
if tus='d' then begin t[i]:='d';write('*');i:=i+1;
if i=7 then d;end;if tus='e' then begin
t[i]:='e';write('*');i:=i+1;if i=7 then d;end;
if tus='f' then begin t[i]:='f';write('*');i:=i+1;
if i=7 then d;end;if tus='g' then begin
t[i]:='g';write('*');i:=i+1;if i=7 then d;end;
if tus='i' then begin t[i]:='i';write('*');i:=i+1;
if i=7 then d;end;if tus='k' then
begin t[i]:='k';write('*');i:=i+1;
if i=7 then d;end;if tus='l' then begin
t[i]:='l';write('*');i:=i+1;if i=7 then d;end;
if tus='m' then begin t[i]:='m';write('*');i:=i+1;
if i=7 then d;end;if tus='n' then begin
t[i]:='n';write('*');i:=i+1;if i=7 then d;end;
if tus='o' then begin t[i]:='o';write('*');i:=i+1;
if i=7 then d;end;if tus='p' then
begin t[i]:='p';write('*');i:=i+1;
if i=7 then d;end;if tus='r' then
begin t[i]:='r';write('*');i:=i+1;
if i=7 then d;end;if tus='s' then begin
t[i]:='s';write('*');i:=i+1;if i=7 then d;end;
if tus='t' then begin t[i]:='t';write('*');i:=i+1;
if i=7 then d;end;if tus='u' then begin
t[i]:='u';write('*');i:=i+1;if i=7 then d;end;
if tus='v' then begin t[i]:='v';write('*');i:=i+1;
if i=7 then d;end;if tus='y' then begin
t[i]:='y';write('*');i:=i+1;if i=7 then d;end;
if tus='z' then begin t[i]:='z';write('*');i:=i+1;
if i=7 then d;end; until tus=#27; end;begin clrscr;
repeat clrscr;writeln;writeln;writeln;writeln;writeln;
textcolor(red);textbackground(9);gotoxy(17,6);
writeln('yesil renkli karakterler ile programi yonetin');
writeln;textcolor(white);gotoxy(30,8);writeln('ILG ILERI YENILEME');
writeln;writeln;writeln;gotoxy(32,12);writeln('ROG RAM GIRISI');
writeln;writeln;writeln;gotoxy(20,16);textcolor(re d);
writeln('! ! ! cikis icin tuslay?n ! ! !');
gotoxy(37,16);textcolor(green);write('< ESC >');gotoxy(29,8);
textcolor(green);write('B');gotoxy(31,12);write('P ');gotoxy(1,1);
tus:=readkey;if tus='b' then yeni;if tus='p' then kontrol;
if tus='w' then begin clrscr;for i:=1 to 6 do
write(s[i]);
readln;
end;
until tus=#27;
end.
gokhanaygun isimli Üye şimdilik offline konumundadır   Alıntı ile Cevapla
Konu Sayısı: 187
 


Konuyu Toplam 1 Üye okuyor. (0 Kayıtlı üye ve 1 Misafir)
 

Yetkileriniz
Yeni Mesaj yazma yetkiniz Aktif değil dir.
Mesajlara Cevap verme yetkiniz aktif değil dir.
Eklenti ekleme yetkiniz Aktif değil dir.
Kendi Mesajınızı değiştirme yetkiniz Aktif değildir dir.

BB code is Açık
Smileler Açık
[IMG] Kodları Açık
HTML-KodlarıKapalı
Gitmek istediğiniz klasörü seçiniz


Bütün Zaman Ayarları WEZ +3 olarak düzenlenmiştir. Şu Anki Saat: 00:04 .


Powered by vBulletin
Copyright © 2000-2007 Jelsoft Enterprises Limited.
Sitemap
6, 5, 3, 7, 8, 9, 10, 11, 12, 13, 14, 15, 113, 16, 17, 18, 19, 81, 20, 27, 22, 23, 24, 25, 26, 48, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 43, 136, 40, 58, 45, 42, 44, 46, 47, 53, 54, 55, 56, 57, 59, 60, 70, 61, 62, 63, 64, 65, 66, 68, 69, 71, 72, 74, 75, 76, 77, 78, 79, 80, 82, 83, 96, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 98, 97, 100, 101, 102, 103, 106, 104, 105, 112, 109, 108, 107, 110, 111, 114, 115, 118, 116, 117, 119, 148, 154, 124, 165, 122, 120, 123, 121, 150, 153, 125, 128, 129, 131, 132, 133, 134, 135, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 151, 149, 202, 175, 164, 152, 167, 155, 156, 157, 158, 159, 160, 161, 162, 163, 195, 169, 166, 168, 170, 171, 172, 199, 174, 173, 196, 200, 176, 177, 180, 178, 179, 182, 189, 187, 184, 186, 191, 192, 193, 194, 197, 198, 201, 203, 229, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 236, 231, 232, 233, 234, 235, 237, 240, 239, 241, 243, 242, 244,