using_case_program.adb.npp

来自「This contains the following topics and m」· NPP 代码 · 共 18 行

NPP
18
字号
with text_io; use text_io;with ada.integer_text_io; use ada.integer_text_io;procedure using_case_program iscount :integer;begin   while (true) loop   get(count);case count is   when 3 => put("count is 3");new_line;   when 4 => put("count is 4");new_line;   when 6 => put("count is 6");new_line;   when others => put("count is out of range");new_line;end case;end loop;end;

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?