subject

Cerința se dă un vector cu n elemente, numere naturale distincte. ordonați crescător elementele situate înaintea valorii maxime din vector și descrescător elementele situate după această valoare. date de intrare programul citește de la tastatură numerele n, iar apoi n numere naturale, reprezentând elementele vectorului. date de ieșire programul va afișa pe ecran elementele vectorului, separate prin exact un spațiu, după efectuarea operațiilor cerute. restricții și precizări 1 ≤ n ≤ 1000 cele n numere citite vor fi mai mici decât 1.000.000.000 exemplu intrare 7 13 1 10 15 3 7 11 ieșire 1 10 13 15 11 7 3

ansver
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 23.06.2019 22:30, meijorjay94p2u2zy
Apart from confidential information, what other information does nda to outline? ndas not only outline confidential information, but they also enable you to outline .
Answers: 1
image
Computers and Technology, 25.06.2019 05:00, mytymikey123
How does computer network work in a paragraph
Answers: 1
image
Computers and Technology, 25.06.2019 08:00, india73
When date is processed into a meaningful form, i becomes
Answers: 1
image
Computers and Technology, 25.06.2019 15:00, giavanleer14
When microsoft excel is first opened, where will its content come from?
Answers: 1
You know the right answer?
Cerința se dă un vector cu n elemente, numere naturale distincte. ordonați crescător elementele situ...

Questions in other subjects: