Computers and Technology

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;

answer
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 02:00, ayoismeisjuam
The word ‘play’ comes with many different interpretations and a variety of definitions. discuss some of the various meanings tied to the word play. why is the concept of play thought to be an important addition to the workplace? do some (brief) research online and give an example of how play in the workplace is being done right.
Answers: 2
image
Computers and Technology, 22.06.2019 08:30, electrofy456
Active listen eliminates barries to communication true or false
Answers: 1
image
Computers and Technology, 22.06.2019 20:10, ianmartin6080
Assume that minutes is an int variable whose value is 0 or positive. write an expression whose value is "undercooked" or "soft-boiled" or "medium-boiled" or "hard-boiled" or "overcooked" based on the value of minutes. in particular: if the value of minutes is less than 2 the expression's value is "undercooked"; 2-4 would be a "soft-boiled", 5-7 would be "medium-boiled", 8-11 would be "hard-boiled" and 12 or more would be a "overcooked".
Answers: 1
image
Computers and Technology, 23.06.2019 12:20, jshhs
When guido van rossum created python, he wanted to make a language that was more than other programming languages. a. code-based b. human-readable c. complex d. functional
Answers: 1
Do you know the correct 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
Mathematics, 10.07.2019 09:00