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 06:30
Selective incapacitation is a strategy to reduce prison population
Answers: 3
question
Computers and Technology, 23.06.2019 15:30
1. ask the user how many questions are in the quiz. 2. ask the user to enter the key (that is, the correct answers). there should be one answer for each question in the quiz, and each answer should be an integer. e.g., 34 7 13 100 81 3 9 10 321 12 might be the key for a 10-question quiz. you will need to store the key in an array. 3. ask the user to enter the answers for the quiz to be graded. there needs to be one answer for each question. note that these answers do not need to be stored; each answer can simply be compared to the key as it is entered. 4. when the user has entered all of the answers to be graded, print the number correct and the percent correct. 5. add a loop so that the user can grade any number of quizzes with a single key. after the results have been printed for each quiz, ask "grade another quiz? (y/n)." note: you only have one array (the key). you are not creating a new key for each set of quiz answers.
Answers: 3
question
Computers and Technology, 23.06.2019 18:00
Freya realizes she does not have enough in her bank account to use the debit card. she decides to use a credit card instead. which questions should freya answer before using a credit card? check all that apply. can i pay at least the minimum payment each month? can i make payments on time and avoid late fees? will i have to take out a loan? how much in finance charges can i afford to pay? should i talk to a consumer credit counseling service?
Answers: 1
question
Computers and Technology, 25.06.2019 04:30
You can fit more raw files on a memory card than the jpeg files? truefalse
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
question
Mathematics, 06.01.2020 04:31
Questions on the website: 13722363