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: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 19:20
Write a program that prompts the user to input a string. the program then uses the function substr to remove all the vowels from the string. for example, if str = "there", then after removing all the vowels, str = "thr". after removing all the vowels, output the string. your program must contain a function to remove all the vowels and a function to determine whether a character is a vowel.
Answers: 2
question
Computers and Technology, 23.06.2019 00:30
Which one of the following is the most accurate definition of technology? a electronic tools that improve functionality b electronic tools that provide entertainment or practical value c any type of tool that serves a practical function d any type of tool that enhances communication
Answers: 1
question
Computers and Technology, 23.06.2019 09:00
Which is the highest level of the hierarchy of needs model? a. humanity b. intrapersonal c. team d. interpersonal
Answers: 1
question
Computers and Technology, 23.06.2019 16:00
What is the biggest difference between section breaks and regular page breaks? section breaks are more difficult to add than page breaks. section breaks make it easier for you to view the document as an outline. section breaks allow you to have areas of the document with different formatting. section breaks are smaller than regular page breaks.
Answers: 2
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
Chemistry, 31.01.2020 06:02
question
Mathematics, 31.01.2020 06:02
question
English, 31.01.2020 06:02
Questions on the website: 13722367