(0.5, 0, 100, 3.14, 'A', -5 ..) Const:
Const = ;
:
Const
N=200; A=0.5; sym='*';
, , , .
:
Const
Max=100;
Min=10;
S=(Max+Min) div 2;
. , :
1. Const .
2. , , .
3. , , .
4. , , , .
, "" . , .
:
Const
: = ;
, :
:
Const
Max:integer=999;
Min:real=-0.01;
Index:1..1000=1;
(, , ) .
: , !
, , .
, , , .
:
1. . , :
:
(2*a*x+3*b*y-4*x)/(2.5*(a+b+c))
2. . .
3. , , :
: (3*a+b)/(-x).
4. :
1) ; 2) *, /, div, mod; 3) +, -.
:
:
1) Sin(x);
2) a*Sin(x); 3) Cos(y); 4) b*cos(y); 5) aSin(x)+b*Cos(y);
|
|
6) SQR(aSin(x)+b*Cos(y)) - ;
7) x/y; 8) Sin(x/y); 8) a*a; 9) b*b; 10) SQR(a*a+b*b);
11) SQR(a*a+b*b)*Sin(x/y) - ;
12) / - .
() , (OR, AND, NOT) .
, .
True False.
:
1) NOT
2) *, /, Div, Mod, AND
3) +, -, OR
4) <, <=, >, >=, =, <>.
. . , .
, AND OR.
:
A<=B; Not a =b; (a<b) and (b<c);
:
:= ;
, - , ( , , , ). . , .
:
:=0.5; - , 0,5.
:= 2*+1; - , , .
- . :
Begin
1;
2;
...
n;
End;
, . , , , . Begin .