文件名称:code
- 所属分类:
- Internet/网络编程
- 资源属性:
- 上传时间:
- 2018-04-13
- 文件大小:
- 1kb
- 下载次数:
- 0次
- 提 供 者:
- 鬼***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
下载
别用迅雷、360浏览器下载。
如迅雷强制弹出,可右键点击选“另存为”。
失败请重下,重下不扣分。
如迅雷强制弹出,可右键点击选“另存为”。
失败请重下,重下不扣分。
介绍说明--下载内容均来自于网络,请自行研究使用
创建一个静态的顺序表存放整数。大小为10.完成以下的操作输入6个整数,1.打 印出顺序表中的内容,并显示表中剩余的空间个数。在顺序表中的第3个位置插入元素O.2.打印出顺序表中的内容,并显示表中剩余的空间个数。再试图向表中第11个位置插入整数0,3.程序提示超出范围。4.删除表中第6个元素,打印出顺序表中的内容,并显示表中剩余的空间个数。
二:编写一程序,动态地创建一个顺序表。要求顺序表初始长度为20,向顺序表中输 入15个整数,并打印出来: 再删除顺序表中的第5个元素。打印出删除后的结果。(Create a static sequence table to store integers. The size is 10., the following operations are input 6 integers, 1. prints out the contents in the sequence table, and displays the remaining space in the table. In the third place of the sequence table, insert the element O.2., print out the contents in the sequence table, and show the remaining space in the table. Then try to insert integer 0,3. program into eleventh locations in the table, indicating that it is out of range. 4., delete the sixth elements in the table, print out the contents in the sequence table, and show the remaining space in the table.
Two: write a program to create a sequence table dynamically. It is required that the initial length of the sequence table is 20, input 15 integers into the sequence table, and print it out: then delete the fifth elements in the order table. Print out the result after the deletion.)
二:编写一程序,动态地创建一个顺序表。要求顺序表初始长度为20,向顺序表中输 入15个整数,并打印出来: 再删除顺序表中的第5个元素。打印出删除后的结果。(Create a static sequence table to store integers. The size is 10., the following operations are input 6 integers, 1. prints out the contents in the sequence table, and displays the remaining space in the table. In the third place of the sequence table, insert the element O.2., print out the contents in the sequence table, and show the remaining space in the table. Then try to insert integer 0,3. program into eleventh locations in the table, indicating that it is out of range. 4., delete the sixth elements in the table, print out the contents in the sequence table, and show the remaining space in the table.
Two: write a program to create a sequence table dynamically. It is required that the initial length of the sequence table is 20, input 15 integers into the sequence table, and print it out: then delete the fifth elements in the order table. Print out the result after the deletion.)
(系统自动生成,下载前可以参看下载内容)
下载文件列表
文件名 | 大小 | 更新时间 |
---|---|---|
code.txt | 4536 | 2018-04-13 |