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, 21.06.2019 18:30
Which statement best explains how plant cells use photosynthesis to maintain homeostasis? they use glucose and water to make energy. they break down glucose into fat. they combine oxygen and water to make glucose. they make glucose from carbon dioxide and water.
Answers: 1
question
Computers and Technology, 22.06.2019 22:00
Competent nonverbal communication involves interacting with others in a manner that is appropriate for which of the following? select all that apply. situation task individuals
Answers: 3
question
Computers and Technology, 23.06.2019 07:50
Most shops require the technician to enter a starting and ending time on the repair order to track the actual time the vehicle was in the shop and closed out by the office. this time is referred to as _ time ? a. comeback b. ro c. cycle d. lead
Answers: 1
question
Computers and Technology, 23.06.2019 18:50
What is transmission control protocol/internet protocol (tcp/ip)? software that prevents direct communication between a sending and receiving computer and is used to monitor packets for security reasons a standard that specifies the format of data as well as the rules to be followed during transmission a simple network protocol that allows the transfer of files between two computers on the internet a standard internet protocol that provides the technical foundation for the public internet as well as for large numbers of private networks
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
Mathematics, 22.07.2019 08:40
Questions on the website: 13722363