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, 22.06.2019 09:40
In the lab, which of the following displayed a list of all installed services and included a description of the service, the current state, and whether the service started automatically or manually? a. the services manager b. the applications summary c. the recommended services d. list the safe services list
Answers: 2
question
Computers and Technology, 23.06.2019 20:10
Leo is a recruitment executive for a large company. he has identified new labor resource requirements in both the marketing and production departments. what should be his first step in recruiting candidates for the positions? a. conduct background checks of candidates b. make job offers c. arrange interviews d. conduct reference checks e. place job ads on job sites
Answers: 1
question
Computers and Technology, 23.06.2019 22:20
Learning sign language is an example of a(n) learning sign language is an example of a(n)
Answers: 2
question
Computers and Technology, 24.06.2019 02:10
Aspeed limit sign that says "night" indicates the legal speed between sunset and sunrise.
Answers: 2
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
Biology, 28.10.2020 19:30
question
Mathematics, 28.10.2020 19:30
question
Mathematics, 28.10.2020 19:30
question
English, 28.10.2020 19:30
question
Mathematics, 28.10.2020 19:30
Questions on the website: 13722367