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

програми
Задача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в: 5330

Коментарi

  • Writing Online

    2018-02-05 03:04:01

    argument paper paper writing services cheap essay writing service [url=https://paperwritingservice.us.com]paper writing service[/url]...

  • Online Payday Loan

    2018-02-05 01:30:53

    online loan cash advance america scam loan for 5000 [url=https://onlineloan.us.com]online loan[/url]...

  • Assignment Define

    2018-02-04 23:38:03

    argument essay argumentative essays college essay promps [url=https://argumentessay.us.com]good argumentative essay[/url]...

  • doode

    2018-02-04 23:30:28

    It may be tough to know precisely what sort of insurance coverage you need, so the advice in this text can allow you to make this choice. For those who wish to know more about Guitar SuperStars Overview, you had higher go to Guitar SuperStars Evaluation. [url=http://buyamoxil.biz/]amoxil dosage pediatric[/url] Our factory educated techs are here to assist you with any HP related downside in Rochester NY. Even celebrities are using these. [url=http://otc-inhaler.com/catalog/Asthma/Proventil.htm]albuterol inhaler prices[/url] A well-known part of Decatrim is green tea which has been used for thousands of years to assist folks trim down...

  • Fastest Payday Loan

    2018-02-04 23:05:08

    payday advance advance payday loan payday advance [url=https://paydayadvance.us.com]fast cash advance[/url]...

  • Jamescat

    2018-02-04 20:08:12

    research papers research paper best research paper writing service [url=https://researchessay.cricket]research papers[/url] free web cam sluts hot porno show free porn cams [url=https://freecamporn.science]free cam porn[/url] paydayloans online online payday loans instant approval easy payday loans online [url=https://thebestonlinepaydayloans.loan]best payday loans[/url]...

  • Buy Essay Paper

    2018-02-04 17:59:44

    can you help me with my homework homework help electrical engineering homework help [url=https://homeworkhelp.us.com]writing a lab report[/url]...

  • Jamescat

    2018-02-04 17:36:02

    homework help algebra 1 nursing assignment help buy essay [url=https://scholarshipessay.science]argument essay[/url] writing a paper college paper college paper [url=https://collegepaper.cricket]help for math homework[/url] online payday loan lender instant online payday loan payday bad credit loan [url=https://onlinepaydayloaninstantapproval.loan]online payday loan lenders[/url] no credit check payday loan payday loan direct lenders payday loan direct lender [url=https://paydayloandirectlender.webcam]payday loans online direct lender[/url] fastest payday loan fastest payday loan emergency loans no credit check [url=https://fastestpaydayloan...

  • Jamescat

    2018-02-04 16:58:07

    small loans no credit check direct payday lenders online payday loans direct lenders [url=https://paydaylendersdirect.webcam]best payday loans[/url] easy loans easy loans easy payday loans [url=https://easyloans.webcam]loans online[/url] bad credit payday loans direct lenders bad credit payday loans direct lenders bad credit payday loans direct lenders [url=https://badcreditpaydayloansdirectlenders.cricket]bad credit payday loans direct lenders[/url] research paper for sale college paper college paper [url=https://collegepaper...

  • Jamescat

    2018-02-04 14:10:20

    best online payday loans best payday loans online payday lenders direct [url=https://thebestonlinepaydayloans.loan]the best online payday loans[/url] cash loan lenders payday loans online easy online payday loans [url=https://easyonlinepaydayloans.science]installment loan[/url] sex chat online girls live cam free chat rooms [url=https://freechatrooms.bid]free chat rooms[/url]...