Revision 3 of 3, by WikiArchive on 11-6-2026. The page as it is now.
Basic Pascal Tutorial/Chapter 3/Programming Assignment/zh CN
3E - 编程作业 (原作者: Tao Yue, 状态: 未更改)
问题 1
在斐波那契数列中,输出前10个,从这2个数开始:
1 1数列由0和1开始,每一项都等于前两项之和。1 + 1 = 2,1 + 2 = 3,2 + 3 = 5,这就形成了以下数列:
1 1 2 3 5 8 13 21 34 55 89 144 ...问题 2
显示所有小于20000的平方。数字间用逗号分隔,每行显示5个;显示效果如下:
1, 2, 4, 8, 16,
32, 64, 128, 256, 512,
1024, 2048, 4096, 8192, 16384| 上一页 | 目录 | 下一页 |
From the Free Pascal wiki, page "Basic Pascal Tutorial/Chapter 3/Programming Assignment/zh CN", as it stood on 2022-08-20 after a change by Kai Burghardt, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's Licensing page. If you have concerns about this material, message the admin.
