if3.pas
来自「This is programing tutorial for people w」· PAS 代码 · 共 12 行
PAS
12 行
program if3;
var
i : byte;
begin
writeln('Enter a number = '); readln(i);
if i <= 10 then
writeln('It is done if i <= 10 only') { Omit the semicolon ; }
else
writeln('It is done if i > 10 only'); { There is a semicolon }
writeln('We always do this');
end.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?