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

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 11:00
The editing of digital photos us about the same level of difficulty as editing an analog photo
Answers: 2
question
Computers and Technology, 22.06.2019 22:00
Discuss the ways in which electronic information associated with payments is addressed in terms of security. include encryption, secure sockets layers, and secure electronic transactions in your discussion. are there any other ways that consumers and businesses can keep their payment information secure in an electronic commerce environment? do you feel that your information is safe when conducting electronic business? why or why not?
Answers: 1
question
Computers and Technology, 23.06.2019 10:30
Would a ps4 wired controller work on an xbox one
Answers: 1
question
Computers and Technology, 23.06.2019 15:30
Write a program in plp assembly that counts up by one starting from zero (or one) inside a loop and writes this value to the leds every time the value is increased. the memory address of the leds is 0xf0200000. the table below shows the meaning and an example usage of the instructions covered in the video, plp instructions for project 1. instruction example usage meaning load immediate li $t0, 8 register $t0 is set to the value, 8. store word sw $t2, 0($t1) the value in register $t1 is used as the memory address. the value in register $t2 is copied into this memory address. add addiu $t4, $t3, 29 register $t4 is assigned the sum of 29 and the value in register $t3. jump j your_label_name the program jumps to the line following the label, "your_label_name: ". label your label name: defines a label called "your_label_name: " that can be jumped to
Answers: 2
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
question
Mathematics, 22.01.2021 17:20
question
Mathematics, 22.01.2021 17:20
Questions on the website: 13722360