level 7
FSH_kstry
楼主
F1 Help F2 Save F3 Open Alt+F9 Compile F9 Make Alt+F10 Local menu
File Edit Search Run Compile Debug Tools Options Window Help
╔═[■]════════════════════════ class.pas ═══════════════════════4═[]═╗
║program sbsbsb;
║ var
║ a, b: integer;
║ begin
║ randomize;
║ a:=0;
║ b:=random(11);
║ repeat
║ write('Ha,Ha,Ha,let me see,who is unlucky.');
║ read(b);
║ a:=a+1;
║ if b=1 then writeln('Bob');
║ if b=2 then writeln('Eric');
║ if b=3 then writeln('Henry');
║ if b=4 then writeln('Joe');
║ if b=5 then writeln('Ted');
║ if b=6 then writeln('Gerry');
║ if b=7 then writeln('Edsion');
║ if b=8 then writeln('Louis');
║ if b=9 then writeln('lamb');
║ if b=10 then writeln('Jim');
║ until(a=1);
║ end.
║
║
╚══*════ 1:33 ■▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒┘
F1 Help F2 Save F3 Open Alt+F9 Compile F9 Make Alt+F10 Local menu
2014年12月07日 03点12分
1
File Edit Search Run Compile Debug Tools Options Window Help
╔═[■]════════════════════════ class.pas ═══════════════════════4═[]═╗
║program sbsbsb;
║ var
║ a, b: integer;
║ begin
║ randomize;
║ a:=0;
║ b:=random(11);
║ repeat
║ write('Ha,Ha,Ha,let me see,who is unlucky.');
║ read(b);
║ a:=a+1;
║ if b=1 then writeln('Bob');
║ if b=2 then writeln('Eric');
║ if b=3 then writeln('Henry');
║ if b=4 then writeln('Joe');
║ if b=5 then writeln('Ted');
║ if b=6 then writeln('Gerry');
║ if b=7 then writeln('Edsion');
║ if b=8 then writeln('Louis');
║ if b=9 then writeln('lamb');
║ if b=10 then writeln('Jim');
║ until(a=1);
║ end.
║
║
╚══*════ 1:33 ■▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒┘
F1 Help F2 Save F3 Open Alt+F9 Compile F9 Make Alt+F10 Local menu
