subject

Cerinţa
să se ordoneze crescător elementele dintr-un şir dat cuprinse între elementul de valoare maximă şi cel de valoare minimă.
date de intrare
programul citește de la tastatură numărul n, iar apoi n numere naturale distincte, separate prin spaţii.
date de ieşire
programul afișează pe ecran elementele şirului după ordonare.
restricţii şi precizări
0 < n ≤ 1000
elementele şirului sunt numere naturale mai mici decât 1.000.000
exemplu
intrare
5
10 20 15 7 12
ieșire
10 7 15 20 12

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 08:00
Apex q: what does a low employment rate indicate? a. not many people are earning high salaries b. not many people are going to college c. not many people are renting their homes d. not many people have jobs
Answers: 2
question
Computers and Technology, 22.06.2019 22:30
Which of the following factors would your hypothetical supervisor look at when deciding whether to test a biological material sample for dna? the amount of other evidence you have implicating a suspect in a crime the annual budget for the crime lab both of the above none of the above; you would almost always order a test
Answers: 3
question
Computers and Technology, 23.06.2019 17:30
Per the municipal solid waste report, what are the most common sources of waste (trash
Answers: 3
question
Computers and Technology, 24.06.2019 11:00
Need fast im timed in a paragraph of 125 words, explain at least three ways that engineers explore possible solutions in their projects.
Answers: 2
You know the right answer?
Cerinţa
să se ordoneze crescător elementele dintr-un şir dat cuprinse între elementul de valoa...
Questions
question
Mathematics, 18.04.2020 05:26
question
Chemistry, 18.04.2020 05:35
question
Computers and Technology, 18.04.2020 05:35
Questions on the website: 13722363