subject

Create an array of 100 integers using a random generator. ( 1 for loop)
provide the sum and average of the array. (1 for loop)
find the smallest and largest number in the array. determine its position in the array. (2 for loops)
how many numbers are below the average, and how many numbers are above the average. (1 for loop)
print all data to the console, but do not print the array to the console.
you may not use the math library!

in your code provide clear comments where you are implementing the above items. for each task you must use a separate for loop (five for loops).

provide the java code and a screen shot of the console. make the console large enough to see the results

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 21:20
In microsoft word, when you highlight existing text you want to replace, you're in              a.  advanced mode.    b.  automatic mode.    c.  basic mode.    d.  typeover mode
Answers: 1
question
Computers and Technology, 24.06.2019 01:30
Could you find out how im still getting an 83 percent on this in edhesive a = input("enter an animal: ") s = input ("enter a sound: ") e = "e-i-e-i-o" print ("old macdonald had a farm, " + e) print ("and on his farm he had a " + a + "," + e) print ("with a " + s + "-" + s + " here and a " + s + "-" + s + " there") print ("here a " + s+ " there a " + s) print ("everywhere a " + s + "-" + s ) print ("old macdonald had a farm, " + e)
Answers: 2
question
Computers and Technology, 24.06.2019 15:00
What questions about an audience should be asked during presentation preparation? check all that apply. what does the audience already know about the topic? how will multimedia tools inspire the audience? is the information interesting and engaging? how will this information affect the presentation? will the audience change the message’s purpose? what is likely to interest the audience?
Answers: 3
question
Computers and Technology, 25.06.2019 05:10
Maia notices that her paragraphs are too close to one another. she wants to increase this space. which arrangement of steps does maia follow after she goes to the paragraph command group in the ribbon? type in the space needed, go to the after menu, go to the spacing part of the box, and open the paragraph dialog box. go to the spacing part of the box, go to the after menu, open the paragraph dialog box, and type in the space needed. open the paragraph dialog box, go to the spacing part of the box, go to the after menu, and type in the space needed. type in the space needed, open the paragraph dialog box, go to the after menu, and go to the spacing part of the box.
Answers: 1
You know the right answer?
Create an array of 100 integers using a random generator. ( 1 for loop)
provide the sum and av...
Questions
question
Mathematics, 28.01.2021 01:50
question
Mathematics, 28.01.2021 01:50
question
Mathematics, 28.01.2021 01:50
question
English, 28.01.2021 01:50
question
Mathematics, 28.01.2021 01:50
Questions on the website: 13722360