![Computers and Technology](/tpl/images/cats/informatica.png)
Computers and Technology, 04.11.2019 23:31, danielhall
Exercise on single dimensional arrays declare an array reference variable arrayint for an array of integers. create the array of size 100, and assign it to arrayint. (2 points) write a method to populate the array with random numbers between 1 to 25. signature of the method is: populatearray( int[] ) which returns nothing. call this method from main with arrayint--> populatearray(arrayint). (2 points) write a method to print an array. signature of the method is: printarray( int[] ) which returns nothing. print maximum of ten(10) numbers on a line (see sample output below). call this method from main with arrayint--> printarray(arrayint). hint: use the modulus operator. any number n % 10 will return a value 0-9. (3 points) write a method that finds the average of the array elements. signature of the method is: findaverage( int[] ) which returns the average to the calling program. call this method from main with arrayint--> findaverage(arrayint). github
![answer](/tpl/images/cats/otvet.png)
Answers: 1
Similar questions
![Предмет](/tpl/images/cats/informatica.png)
Computers and Technology, 10.10.2019 01:10, netflixacc0107
Answers: 1
![Предмет](/tpl/images/cats/User.png)
Engineering, 02.11.2019 04:31, s11074739
Answers: 3
Do you know the correct answer?
Exercise on single dimensional arrays declare an array reference variable arrayint for an array of i...
Questions in other subjects:
![Konu](/tpl/images/cats/ekonomika.png)
![Konu](/tpl/images/cats/en.png)
![Konu](/tpl/images/cats/mat.png)
Mathematics, 19.01.2021 19:40
![Konu](/tpl/images/cats/istoriya.png)
History, 19.01.2021 19:40
![Konu](/tpl/images/cats/mat.png)
![Konu](/tpl/images/cats/en.png)
![Konu](/tpl/images/cats/ekonomika.png)
![Konu](/tpl/images/cats/mat.png)
Mathematics, 19.01.2021 19:40
![Konu](/tpl/images/cats/mat.png)
![Konu](/tpl/images/cats/mat.png)
Mathematics, 19.01.2021 19:40