.


:




:

































 

 

 

 


. , ,




PASCAL

- , - .

- .

 

()
byte 0..255  
shortint 128..127  
integer 32768..32767  
word 0..65535  
longint 2147483648..  

( ) , , 137 000 000, : 1.37108.

: mEp : m - ;

E -

;

p - 10.

.. 1.37+8. .

:

Pascal
410-4 4E -4
0,62105 0.62E+5
-10,881012 -10.88E12
()
real 2.9*10E 39..1.7*10E38 11-12  
single 1.5*10E 45..3.4*10E38 7-8  
double 5.0*10E 324..1.7*10E308 15-16  
extended 1.9*10E 4951..1.1*10E4932 19-20  
comp -2E+63+1..2E+63-1 10-20  

 

( )

char . ASCII.

0 255.

.

()

() , : true () false (). .

1 .

abs(x) Real, integer
arctan(x) Real, integer Real ( )
cos(x) Real, integer Real ,
exp(x) Real, integer Real
frac(x) Real Real
int(x) Real, integer Real
ln(x) Real, integer Real
pi Real 3,141592653
sin(x) Real, integer Real ,
sqr(x) Real, integer
sqrt(x) Real, integer Real
random Real [0, 1]
random(n) Integer Integer [0, N]
round(x) Real Integer
trunc(x) Real Integer

. , ,

 

- Read(ln). :=. :

_:= ;

 

= =
A:=25; :=3;    
A:=B;    
A:=32+1;    
A:=A+B+1;    

 

, .

:

- , : , ;

- , .

 

: : x + y 10

: x, y, 10

: +,

 

:

- ;

- ;

- ();

- .

 

.

 

:

: : x + y

 

 





:


: 2016-11-23; !; : 403 |


:

:

.
==> ...

1325 - | 1264 -


© 2015-2024 lektsii.org - -

: 0.011 .