: *, +, -
: real
: real
: *, +, -
: integer
: integer
: /
: real integer
: real
: DIV, MOD
: integer
: integer
6. / (Print, write, input). .
INPUT () .
INPUT: INPUT [;] [²²{;|,}] 1, 2
; , Enter
[²²{;|,}] - , , . . .
; ? .
, .
1, 2 - . , .
:
INPUT | ?_ |
INPUT ² ², | |
INPUT ² ²; | ?_ |
INPUT ² ,²; , | , ?_ |
CLS PRINT
CLS (CLear Screen) .
: PRINT [] [{;|,}]
, , . PRINT , .
, , . , .
{;|,} . . , 14 . , .
, , PRINT, . - , PRINT .
:
PRINT (=10, =15, S=150). () , .
PRINT S | 150 |
PRINT ² ²; , | 10 15 |
PRINT ² =²; * | =150 |
PRINT ²=²; ; ²=²; | =10 =15 |
PRINT SQR(9) | 3 9 |
: WRITE
: Write ( )
|
|
. , . ln , readln. , . , write (10:3, 55:6) 10 , 55 - .
, , . , x = 3,14159, write (x:6:2) , (. . 3,14).
, , (). ,
: = 3.5;
Write (' ', : 4,'/');
:
: 3.5 /