Computers and Technology, 07.12.2019 01:31 erykp17
Here is the question: assuming int numbers[size]; is initialized somehow, write a function counter() that you an send the array to, plus an extra integer, and the function will return the number of times that value is found in the array. for example, if the array of size 7 contains {1,2,3,2,3,3,3} then the call
x=counter(numbers, size,3); will put 4 into x.
my try-
int integer;
int count=0;
cin > > integer;
int counter(numbers, size, integer)
for(int i=0; i while(i if numbers[i] = integer
count++;
while(i=size)
cout < < count;
okay i think this ^^ is close to the right idea but i know its still wrong. ?
Answers: 2
Computers and Technology, 22.06.2019 06:00, kamilahmcneil3969
What are the most likely causes of conflict at the meeting? check all that apply.
Answers: 1
Computers and Technology, 24.06.2019 13:00, ddaaaeeee2960
Which one of the following functions is not available on the autosum tool? sum average if max
Answers: 3
Computers and Technology, 24.06.2019 19:00, taridunkley724
Which of the following "invisible" marks represents an inserted tab?
Answers: 1
Computers and Technology, 24.06.2019 21:30, breannaasmith1122
Along what line of action can the camera move to follow the movement of actors for screen direction? a. along a 90-degree arcb. along a 120-degree arcc. along a 180-degree arcd. along a 360-degree arc
Answers: 1
Here is the question: assuming int numbers[size]; is initialized somehow, write a function counter(...
Mathematics, 05.11.2020 20:10
Mathematics, 05.11.2020 20:10
Mathematics, 05.11.2020 20:10
Mathematics, 05.11.2020 20:10
Mathematics, 05.11.2020 20:10
Mathematics, 05.11.2020 20:10
Mathematics, 05.11.2020 20:10