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

📄 while_program.adb.npp

📁 This contains the following topics and more ADA versus C and Cplus plus Ada_training ADA 2005 for
💻 NPP
字号:
--A while statement in Ada 95--Illustrated below is a fragment of code that uses a while statement--to write the text message Hello 6 timeswith text_io; use text_io;procedure while_program is   --Count : Integer ;   Count : Integer :=3;begin--Count := 1; --Set count to 1while Count <= 6 loop --While count less than or equal 6Put( "Hi Sai welcome to silver software" ); --Print HelloNew_Line;Count := Count + 1; --Add 1 to countend loop;end while_program;   --Note: The statement: Count := Count + 1; adds 1 to the contents of Count   -- and puts the result back into the memory location Count.

⌨️ 快捷键说明

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