一、完成的实验内容及说明
基本内容
(1)扩充赋值运算:+ 和 -
(2)扩充语句 REPEAT
<语句序列>
DOWHILE <条件>
其中,<条件>是循环条件,即条件成立时,重复执行循环体的< 语句序列>
选做内容
(1)增加运算:++ 和 。
(2)增加类型:① 字符类型; ② 实数类型。
(3)扩充函数:① 有返回值和返回语句;② 有参数函数。
(4)增加一维数组类型
(A, the experiment content and complete
The basic content
Operation: (1) expand the assignment+ and
(2) REPEAT expansion statements
< > statement sequence
Conditions of DOWHILE < >
Among them, the conditions of < > is loop condition, namely conditions founded, repeat the loop body < > statement sequence
Choose to do content
(1) operation:++ and .
(2) types: (1) character types (2) real types.
(3) the expansion of function: (1) has a return value and return statement (2) a parameter function.
(4) increase a one-dimensional array type)