⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 program_20.adb

📁 This contains the following topics and more ADA versus C and Cplus plus Ada_training ADA 2005 for
💻 ADB
字号:
with Text_IO; use Text_IO;
--with Ada.Integer_Text_io; use Ada.Integer_Text_io;

procedure program_20 is
   letter : Character;  -- i am getting error here vijay
begin
   while (True) loop
      Get (letter);
      case letter is
         when 'a' .. 'z' | 'A' .. 'Z' =>
            Put ("letter");
         when '0' .. '9' =>
            Put ("digit! value is");
            Put (letter);
         when ''' | '"' | '`' =>
            Put ("quote mark");
         when '&' =>
            Put ("ampersand");
         when others =>
            Put ("something else");
      end case;
   end loop;
end program_20;

⌨️ 快捷键说明

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