subject

Create a new java application called "averagewithmethods" (without the quotation marks) according to the following guidelines. the program prompts the user for five to ten numbers, all on one line, and separated by spaces. then the user calculates the average of those numbers, and displays the numbers and their average to the user. the program uses methods to: get the numbers entered by the usercalculate the average of the numbers entered by the userprint the results with the whole number, a decimal, and two decimal positionsthe first method should take no arguments and return a string of numbers separated by spaces. the second method should take a string as its only argument and return a double (the average).the third method should take a string and a double as arguments but have no return value. for example, if the user input 20 40 60 80 program should give as the average of the numbers 20 40 60 80 100 is 60.00.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 15:30
Hey so i was just trying out some game hacks so i took a paste from online and built it in my visual studio and then suddenly my computer was working or clicking on stuff on its own am i hacked?
Answers: 1
question
Computers and Technology, 23.06.2019 17:00
The more powerful, 60 volt cables and the main power shut off on an hev are both colored orange
Answers: 1
question
Computers and Technology, 24.06.2019 02:00
Which steps will open the system so that you can enter a question and do a search for
Answers: 1
question
Computers and Technology, 25.06.2019 03:00
What judgment would you make about open systems interconnect? not useful that it is a technology that it is a model that it does not pertain to technology
Answers: 1
You know the right answer?
Create a new java application called "averagewithmethods" (without the quotation marks) according to...
Questions
question
Arts, 12.02.2020 01:19
question
Mathematics, 12.02.2020 01:19
Questions on the website: 13722361