Computers and Technology

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();

answer
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 24.06.2019 03:30, laylay120
Other - a written response, no less than arial 12-point font, to the following: of the following, which would you consider is most important to customer service goals? choose one and explain why. (1) accuracy (2) punctuality and attendance (3) courtesy (4) productivity (5) organization
Answers: 1
image
Computers and Technology, 24.06.2019 17:30, bxbykay1
Looking at the electroscope, describe how you can cause the two leaves at the bottom to repel each other and stay that way
Answers: 3
image
Computers and Technology, 25.06.2019 10:30, ajanae97
What is workflow? how do you create your own workflow?
Answers: 1
image
Computers and Technology, 25.06.2019 13:00, LoneWolves
Ok so im actually just wondering can you change you username
Answers: 2
Do you know the correct 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 in other subjects: