Content: 6.zip (27.70 KB)
Uploaded: 04.04.2010

Positive responses: 0
Negative responses: 0

Sold: 0
Refunds: 0

$5
Lab in pascal.

Topic - Arrays.

Task:

Dan-dimensional integer array A

consisting of N elements (0 \u003cN\u003c10000;10000\u003cA[i]\u003c10000).

Ostortirovat array in ascending order.

Example:

Please choose way of writing array

"1" for random write

"2" for write by hand

your choose: 2

please enter the count of array: 10

a (1) = 1

a (2) = 3

a (3) = 2

a (4) = 4

a (5) = 5

a (6) = 6

a (7) = 7

a (8) = 9

a (9) = 8

a (10) = 4

count of array = 10

1 3 2 4 5 6 7 9 8 4

count of array = 10

1 2 3 4 4 5 6 7 8 9

No feedback yet