subject

Write a java program that writes 10 random numbers (between 1-100) to a text file (originaldata. txt) and reads them into an array in one execution of the program. write a method to calculate the total and average of the array input data. write a method to determine the maximum value. your program should call average and maximum methods. create an output file to which you write the array output, the total, the average value and maximum value.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 19:20
Write a program that reads a file consisting of students’ test scores in the range 0–200. it should then determine the number of students having scores in each of the following ranges: 0–24, 25–49, 50–74, 75–99, 100–124, 125–149, 150–174, and 175–200. output the score ranges and the number of students. (run your program with the following input data: 76, 89, 150, 135, 200, 76, 12, 100, 150, 28, 178, 189, 167, 200, 175, 150, 87, 99, 129, 149, 176, 200, 87, 35, 157, 189.)
Answers: 3
question
Computers and Technology, 23.06.2019 15:30
Brian wants to conduct an online search with a certain phrase. he intends to use the words books that belong to the 1800s in his search. how should he use the word that in his search?
Answers: 1
question
Computers and Technology, 23.06.2019 17:00
What are the 12 colors of the spectrum called?
Answers: 1
question
Computers and Technology, 24.06.2019 15:00
Universal windows platform is designed for which windows 10 version?
Answers: 1
You know the right answer?
Write a java program that writes 10 random numbers (between 1-100) to a text file (originaldata. txt...
Questions
question
History, 26.08.2021 08:30
question
SAT, 26.08.2021 08:30
question
Mathematics, 26.08.2021 08:30
question
Mathematics, 26.08.2021 08:30
question
Mathematics, 26.08.2021 08:40
Questions on the website: 13722360