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, 21.06.2019 18:40
Access defaults to searching for information on the
Answers: 1
question
Computers and Technology, 22.06.2019 23:30
For her science class, elaine is creating a presentation on weather in the united states. she wants to make the presentation beautiful and interesting by drawing simple cloud or wave shapes. which is the best way for elaine to draw these shapes?
Answers: 1
question
Computers and Technology, 23.06.2019 09:30
Given a link with a maximum transmission rate of 32.8 mbps. only two computers, x and y, wish to transmit starting at time t = 0 seconds. computer x sends filex (4 mib) and computer y sends filey (244 kib), both starting at time t = 0. statistical multiplexing is used, with details as follows packet payload size = 1000 bytes packet header size = 24 bytes (overhead) ignore processing and queueing delays assume partial packets (packets consisting of less than 1000 bytes of data) are padded so that they are the same size as full packets. assume continuous alternating-packet transmission. computer x gets the transmission medium first. at what time (t = ? ) would filey finish transmitting? give answer in milliseconds, without units, and round to one decimal places (e.g. for an answer of 0.013777 seconds you would enter "13.8" without the quotes)
Answers: 3
question
Computers and Technology, 23.06.2019 12:40
Curriculum exam to process a resident's payment, you must click on onesite payments home page. from the a. reports b. my settings o c.transactions o d. rent tab
Answers: 1
You know the right answer?
Create a new java application called "averagewithmethods" (without the quotation marks) according to...
Questions
question
Health, 09.07.2019 02:30
question
English, 09.07.2019 02:30
Questions on the website: 13722359