subject

This is the code to modify i have a few ideas on how to do it but would like a walk through. import java. util. scanner; public class drawhalfarrow {public static void main(string[] args) {scanner scnr = new scanner(system. in); int arrowbaseheight = 0; int arrowbasewidth = 0; int arrowheadwidth = 0; system. out. println("enter arrow base height: "); arrowbaseheight = scnr. nextint(); system. out. println("enter arrow base width: "); arrowbasewidth = scnr. nextint(); system. out. println("enter arrow head width: "); arrowheadwidth = scnr. nextint(); string ast = ""; for (int x = 1; x < = arrowbasewidth; x++) {ast += "*"; }for (i = 1; i < = arrowbaseheight; ++i) {system. out. println(ast); }int tempheadwidth = arrowheadwidth; for (int y = 1; y < = arrowheadwidth; y++) {for(int z = tempheadwidth; z > 0; {system. out. print("*"); } tempheadwidth -= 1; system. out. println();

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 14:10
Dean wants a quick way to look up staff members by their staff id. in cell q3, nest the existing vlookup function in an iferror function. if the vlookup function returns an error result, the text “invalid staff id” should be displayed by the formula. (hint: you can test that this formula is working by changing the value in cell q2 to 0, but remember to set the value of cell q2 back to 1036 when the testing is complete.)
Answers: 3
question
Computers and Technology, 22.06.2019 15:30
Which of the following examples has four beats in each measure?
Answers: 2
question
Computers and Technology, 22.06.2019 17:00
Which of the following is not contained on the slide show toolbar? a. next button b. slide button c. close button d. pen too
Answers: 2
question
Computers and Technology, 22.06.2019 20:00
Which type of file can be used to import data into a spreadsheet?
Answers: 1
You know the right answer?
This is the code to modify i have a few ideas on how to do it but would like a walk through. import...
Questions
question
History, 05.05.2020 19:32
Questions on the website: 13722367