![subject](/tpl/images/cats/informatica.png)
Computers and Technology, 23.11.2021 05:30 ChloeLiz7111
Given the following code, what logic would you need to include to determine how many times the number 2 appears within the array:
int[] myArray = {1,2,3,2,5,6,2,8,2,10};
for (int i = 0; i < myArray. length; i++) {
//your code goes here
}
Sample Output: The number 2 appears 4 times in this array.
NOTE: Your response should be just the missing logic--not the entire problem set.
![ansver](/tpl/images/cats/User.png)
Answers: 1
![](/tpl/images/ask_question.png)
![](/tpl/images/ask_question_mob.png)
Another question on Computers and Technology
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 04:00
When you collaborate or meet with a person or group online, it is called
Answers: 1
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 06:30
Exchanging which type of data uses the least bandwidth? music photographs video voice bandwidth- the amount of data that can be moved between two points in a set time period
Answers: 1
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 10:00
Which of the following is true of operations within a spreadsheet program’s built-in functions? a. operations within parentheses, then multiplication and division, and then addition and subtraction are computed. b. operations within parentheses, then addition and subtraction, and then multiplication and division are computed. c. multiplication and division, then addition and subtraction, and then operations within parentheses are computed. d. addition and subtraction, then multiplication and division, and then operations within parentheses are computed
Answers: 2
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 11:10
Which are not examples of chronic or persistent stress? moving
Answers: 1
You know the right answer?
Given the following code, what logic would you need to include to determine how many times the numbe...
Questions
![question](/tpl/images/cats/mat.png)
Mathematics, 15.01.2021 17:10
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/es.png)
Spanish, 15.01.2021 17:10
![question](/tpl/images/cats/biologiya.png)
![question](/tpl/images/cats/istoriya.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/istoriya.png)
History, 15.01.2021 17:10
![question](/tpl/images/cats/mat.png)
Mathematics, 15.01.2021 17:10
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/es.png)
Spanish, 15.01.2021 17:10
![question](/tpl/images/cats/es.png)
Spanish, 15.01.2021 17:10
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 15.01.2021 17:10
![question](/tpl/images/cats/mat.png)
Mathematics, 15.01.2021 17:10
![question](/tpl/images/cats/mat.png)
Mathematics, 15.01.2021 17:10
![question](/tpl/images/cats/obshestvoznanie.png)
Social Studies, 15.01.2021 17:10