subject
Computers and Technology, 25.11.2019 19:31 BobJRJR

Write a program that reads a stream of integers from the console and stores them in an array. the array is then analyzed to compute the average of all the values in the array and finally all of the values that are above the average should be printed out to the screen. specifically, you must write three methods:and main() creates a scanner, as well as an array of 100 integers, and outputs a message to the screen asking for a sequence of numbers. readintoarray() is then called to read values from the scanner and store them in the array. it must be passed two arguments: the scanner and the array. you should only store as many integers as the array can handle. note, however, that there might be fewer than 100 values typed at the console – store whichever is fewer. this method must return how many integers, up to the length of the array, were read into the array. the hasnextint() method of the scanner will be useful to determine if there are additional integers to read from the console

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 19:10
10. when you create a pivottable, you need to specify where to find the data for the pivottable. is it true
Answers: 2
question
Computers and Technology, 23.06.2019 02:30
Rafael needs to add a title row to a table that he has inserted in word. what should he do? use the alignment options. use the merge and center option for all the cells in the top row. use the merge and center option on the first two cells in the top row. none of the above
Answers: 3
question
Computers and Technology, 24.06.2019 10:40
Joe needs to see the slide transitions and animations he has applied to his slides in a large view. which presentation view should he use? in which tab would joe find the animations option to make further changes, if any?
Answers: 1
question
Computers and Technology, 24.06.2019 22:00
Iam trying to get my google account back for school and business, can someone ?
Answers: 1
You know the right answer?
Write a program that reads a stream of integers from the console and stores them in an array. the ar...
Questions
question
Mathematics, 27.10.2020 16:50
question
Mathematics, 27.10.2020 16:50
question
Health, 27.10.2020 16:50
question
Social Studies, 27.10.2020 16:50
Questions on the website: 13722362