1.99乘法表:
2.等腰三角形:
3.冒泡排序:
4.选择排序:
5.折半查找法(只能找排好序的):
6.递归
7.创建数组
JS:
var 数组名 = new Array(个数);
var 数组名 = [元素1,元素2,元素3,...];
Java:
元素类型 [] 数组名 = new 元素类型 [个数];
元素类型 [] 数组名 = {元素1,元素2,元素3,...};