subject

Fisierul numere. txt contine pe lnia unu un numar intreg n, pe linia a 2-a n numere intregi separate prin spatiu. Se cere:

-cititi numerele in vectorul a;

-folosind cautarea secventiala , cautati un numar x, cititi de la tastatura, in vectorul a;

-aflati cel mai mic si cel mai mare numar din a; daca min si max apar de mai multe ori, afisati toate pozitiile pe care apar si numarul de repetari

-creati fisierul prime .txt cu numerele prime din a

-verificati daca a are elementele ordonate crescator; in caz afirmativa realizati cauarea binara in a a numarului x;

ansver
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 18:30, lizz1228
Kto rozmawia z clamentain przez krótkofalówke w the walking dead w 4 epizodzie
Answers: 1
image
Computers and Technology, 23.06.2019 05:00, bellad0124outlookcom
In cell b18, enter a formula to calculate the amount budgeted for meals. this amount is based on the daily meal allowance and the total travel days (# of nights+1).
Answers: 1
image
Computers and Technology, 23.06.2019 12:30, umimgoingtofail
What is the difference between the internet and the world wide web?
Answers: 1
image
Computers and Technology, 24.06.2019 03:30, laylay120
Other - a written response, no less than arial 12-point font, to the following: of the following, which would you consider is most important to customer service goals? choose one and explain why. (1) accuracy (2) punctuality and attendance (3) courtesy (4) productivity (5) organization
Answers: 1
You know the right answer?
Fisierul numere. txt contine pe lnia unu un numar intreg n, pe linia a 2-a n numere intregi separate...

Questions in other subjects:

Konu
Physics, 03.08.2019 16:30