9. Jadval kattaliklar (matritsalar)
9.1. Quyidagi e'lon qilingan turlar bir xildami?
array[1..15,0..3] of char va array[1..15] of array[0..3] of char;
9.2. type satr = array[1..20] of char;
matr1 = array[1..20] of satr;
matr2 = array[1..15,1..20] of char;
var A: matr1; B: matr2;
O'zgaruvchilarning turlari ko'rsatilsin: A, A[3], A[9][18], A[1,1], B, B[15], B[3,3], B[10][16].
9.3. var A, B: array[1..15,0..8] of real; t: boolean;
Quyida ko'rsatilgan amallarning qaysi birlari Paskal tilida ruxsat etilgan?
a) A:=B; b) A:=A+B; v) t:=A<>B;
g) read(A); d) A[1]:=A[15]; ye) A[2,3]:=B[4][8]B[1,1]
Do'stlaringiz bilan baham: |