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 09:00
What is one way in which tablets differ from laptops and notebooks? tablets are designed for touch-based interaction. tablets are designed to be used as desktops. tablets are designed for input via a keyboard and mouse. tablets are designed to be larger than laptops.
Answers: 1
question
Computers and Technology, 23.06.2019 09:00
The first screen you see when you open word2016 what is called?
Answers: 1
question
Computers and Technology, 23.06.2019 17:20
What is the best assassins creed game?
Answers: 2
question
Computers and Technology, 23.06.2019 21:30
To move a file or folder in microsoft windows, you can click and hold down the left mouse button while moving your mouse pointer to the location you want the file or folder to be, which is also known as.
Answers: 3
You know the right answer?
Submit your modified spaceneedle, stairs, or book code on hypergrade. we are looking for two things:...
Questions
question
Mathematics, 25.03.2021 17:10
question
Arts, 25.03.2021 17:10
question
Mathematics, 25.03.2021 17:10
question
Mathematics, 25.03.2021 17:10
question
Mathematics, 25.03.2021 17:10
question
Mathematics, 25.03.2021 17:10
question
Mathematics, 25.03.2021 17:10
question
Mathematics, 25.03.2021 17:10
question
Mathematics, 25.03.2021 17:10
Questions on the website: 13722361