Одновимірні масиви

програми
Задача1. Сортування елементів масиву за зростанням.

uses crt;
const n=15;
var i,j:integer;
a:array[1..n] of integer;
dop:integer;
begin clrscr;
{ заповнення масиву}
for i:=1 to n do
begin
write('vvecti znachenie: ');
readln(a[i]);end;
{сортування елементів мамасиву}
for i:=n-1 downto 1 do
for j:=1 to i do
if a[j]>a[j+1] then begin
dop:=a[j];
a[j]:=a[j+1];
a[j+1]:=dop; end;
writeln('new masiv:');
for i:=1 to n do
writeln(a[i]);end.
Кiлькiсть переглядiв: 5345

Коментарi

  • Buying An Essay

    2018-02-06 07:34:24

    essay writing services proofreading services college essay writing service [url=https://essaywritingservices.us.org]editing service[/url]...

  • Loan

    2018-02-06 05:32:52

    online loan online loan specialized loan services [url=https://onlineloan.us.com]loans companies[/url]...

  • Speedy Cash

    2018-02-06 03:11:49

    payday loans no credit check same day payday loans online cashnowoffer tracking [url=https://paydayloansonline.us.org]payday loans no credit[/url]...

  • My Homework Now

    2018-02-06 02:44:46

    essay writing essay writing college essay writing [url=https://essaywriting.us.com]essay writing skills[/url]...

  • Define Assignations

    2018-02-06 00:10:36

    term paper writer finance term paper term paper [url=https://termpaper.us.com]online term paper[/url]...

  • Paper Writer Free

    2018-02-05 22:44:55

    college essay writing essay writing essay writing [url=https://essaywriting.us.com]writing an essay[/url]...

  • Billydah

    2018-02-05 21:39:22

    porno [url=https://forexrobotnation.com/best-forex-robot-and-expert-advisors-top-3-tested/?replytocom=105730]adult video[/url]...

  • Paper Writer

    2018-02-05 21:10:03

    essay writing model argument essay easy argumentative essay [url=https://argumentessay.us.com]argumentative essays[/url]...

  • Williamjoymn

    2018-02-05 20:59:59

    Отличный строительный портал здесь [url=https://vystroim.com/]vystroim.com[/url]...

  • RobertLEw

    2018-02-05 20:30:49

    alanah rae porn [url=https://forexrobotnation.com/best-forex-robot-and-expert-advisors-top-3-tested/?replytocom=106904]viagra[/url]...