In this article, I would like to share with you a simple password program written in Turbo Pascal.
I am currently accepting programming work, IT projects, school and application development, programming projects, thesis and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me in the following email address for further details. If you want to advertise on my website kindly contact me also in my email address also. Thank you.
My email address is the following jakerpomperada@gmail.com, jakerpomperada@aol.com, and jakerpomperada@yahoo.com.
My mobile number here in the Philippines is 09173084360.
My telephone number at home here in Bacolod City, Negros Occidental Philippines is +63 (034) 4335675.
Here in Bacolod I also accepting computer repair, networking and Arduino Project development at a very affordable price.
My personal website is http://www.jakerpomperada.com
Program Listing
Program password;
uses crt;
var
w,i:integer;
pass,a:string[12];
try:char;
name:string;
begin
repeat
randomize;
textbackground(black);
clrscr;
gotoxy(32,6);
write('P A S S W O R D');
textcolor(black);
gotoxy(29,8);readln(pass);
textcolor(white);
gotoxy(20,12); write('Verifying password ');
for i:=40 to 60 do
begin
gotoxy(i,12);
sound(random(1000+i));
write('');
delay(7000);
end;
if pass = '123' then
begin
clrscr;
gotoxy(12,20);
write(' You are one of the authorized person(s) ');
end;
nosound;
if pass <> '123' then
begin
clrscr;
gotoxy(31,12); write('Wrong Password');
gotoxy(25,14);write('Do you want another try Y/N : ');
end;
nosound;
readln(try);
until (try = 'N') or (try = 'n');
readln;
end.
No comments:
Post a Comment