subject

How can i fix my code so that a teepee is properly formed? here is what i currently have (my output is uploaded as an image): public static void teepee(int a){
for(int i=a; i>0; i--){
for(int j=a; j>0; j--){
System. out. print(" ");
}
System. out. print("/");
for(int k=i; k System. out. print(" ");
}
System. out. println("\\");
}
}


How can i fix my code so that a teepee is properly formed? here is what i currently have (my output

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 07:30
What are ways to switch windows in excel? check all that apply. on the status bar, click the windows button, and then click the file name. on the task bar, click to display the excel jump list, and then click the file name. on the view tab, in the window group, click switch windows, and then click the file name. on the review tab, in the viewing group, click files, and then click the file name.
Answers: 1
question
Computers and Technology, 23.06.2019 13:30
Stops: using the information learned in this course, explain three things you will not do when driving. a. b. c. explain why you will not do these things when driving. starts: using the information learned in this course, explain three things you will do when driving. a. b. c. explain why you will do these particular things when driving. explain one thing you will stop doing as a passenger. explain one thing you will start doing as a passenger.
Answers: 3
question
Computers and Technology, 23.06.2019 15:30
The song about casey jones a railroad engineer who gives his life on the job would most likely gall under the folk song category of? a-work song b-nonsense song c-religious song d-ballad
Answers: 1
question
Computers and Technology, 26.06.2019 08:50
Write smallest to largest: byte, bit, mb, pb, gb, nibble
Answers: 3
You know the right answer?
How can i fix my code so that a teepee is properly formed? here is what i currently have (my output...
Questions
question
Mathematics, 25.09.2019 10:00
Questions on the website: 13722363