subject

Submit your modified spaceneedle, stairs, or book code on hypergrade. we are looking for two things: 1. elimination of the class constant for size, to be replaced with user input for size using a scanner object called console. 2. the restructuring of your code to use method calls with parameters. for example, you might use a method like we discussed in class to produce a specified number of characters: p. s.v. writechars(char ch, int number){ for (int i = 1; i < = number; i++){ system. out. print(ch); { { to produce 10 underscores, the method call would then be writechars ('_', 10); there are no test cases - we just want to look at your code. as with any program, be sure to comment liberally! caution - for some reason, hypergrade objects to the use of more than one scanner object. safe practice, therefore, is to handle all your user inputs using one scanner object, by convention called console, in either your main method or in a separate method designated for user input. the user input(s) can then be passed to other methods as a parameter(s).

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 06:00
Which of the following is a way that advancements in technology improve humans' ability to measure air quality and protect human health? a. air quality data gathered by new instruments can be used to reduce exposure to pollutants. b. new technologies enable natural and human-made pollution sources to be located and monitored. c. air quality data gathered by new instruments can be used to predict trends in pollution over time. d. new technologies allow governments to make informed decisions about the regulation of pollution. (choose more than one)
Answers: 2
question
Computers and Technology, 22.06.2019 08:10
Alook-up table used to convert pixel values to output values on a monitor. essentially, all pixels with a value of 190 or above are shown as white (i.e. 255), and all values with a value of 63 or less are shown as black (i.e. 0). in between the pixels are scaled so that a pixel with a value p is converted to a pixel of value 2/127 −+3969). if a pixel has a value of 170 originally, what value will be used to display the pixel on the monitor? if a value of 110 is used to display the pixel on the monitor, what was the original value of the pixel?
Answers: 1
question
Computers and Technology, 22.06.2019 19:00
Stacy works as blank. the most important soft skill she needs for this role is blank.
Answers: 3
question
Computers and Technology, 23.06.2019 13:10
What is domain name system (dns)? allows dynamic ip address allocation so users do not have to have a preconfigured ip address to use the network converts ip addresses into domains, or identifying labels that use a variety of recognizable naming conventions the efficient coexistence of telephone, video, and data communication within a single network, offering convenience and flexibility not possible with separate infrastructures the integration of communication channels into a single service
Answers: 2
You know the right answer?
Submit your modified spaceneedle, stairs, or book code on hypergrade. we are looking for two things:...
Questions
question
Mathematics, 28.03.2021 23:50
question
Mathematics, 28.03.2021 23:50
question
Mathematics, 28.03.2021 23:50
question
Mathematics, 28.03.2021 23:50
question
Chemistry, 28.03.2021 23:50
question
Mathematics, 28.03.2021 23:50
question
Mathematics, 28.03.2021 23:50