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

📄 your_name1.adb.npp

📁 This contains the following topics and more ADA versus C and Cplus plus Ada_training ADA 2005 for
💻 NPP
字号:
with Ada.Text_IO; use Ada.Text_IO;	-- a package containing the"put_line" procedureprocedure your_name1 is	procedure hello is 			-- candidate for the "main" procedure.	begin	put_line("hello");	end hello;name :string(1..100); 			-- 100 character arraylast :natural; 				-- can only contain natural integersbeginput("Hello what is your name? ");get_line(name,last);for i in 1..10 loop 			-- i is implicity declaredhello;put_line(name(1..last));				-- & string concatenation					-- name(1..last)- array sliceend loop;				 -- control structure labelledend your_name1;

⌨️ 快捷键说明

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