![Gearyjames8](/avatars/26166.jpg)
Gearyjames8
09.11.2020 •
Computers and Technology
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("\\");
}
}
Solved
Show answers
More tips
- H Health and Medicine Effective Ways to Treat Colic in Infants...
- S Society and Politics What If There s War Tomorrow, What If We Go to War?...
- S Sport How to Do a Jumping Split...
- A Animals and plants What Do Terriers Eat?...
- F Food and Cooking Discover the Benefits and Properties of Dates...
- C Computers and Internet Dynamically Assigned IP Address: What Is It and How Does It Work?...
- S Style and Beauty How to Get Rid of Acne: Scientifically Proven Methods...
- H Health and Medicine Simple Ways to Lower Cholesterol in the Blood: Tips and Tricks...
- O Other How to Choose the Best Answer to Your Question on The Grand Question ?...
- L Leisure and Entertainment History of International Women s Day: When Did the Celebration of March 8th Begin?...
Answers on questions: Computers and Technology
- C Computers and Technology Which of the following is an information storage method that allows you to save files on Internet servers instead of on your computer devices? External hard drive Thumb...
- C Computers and Technology Write a query that returns the first name of a student whose last name is Patil and is in the Ravenclaw house. How do you do this?...
- M Mathematics A statistics instructor randomly selected four bags of oranges, each bag labeled 10 pounds, and weighed the bags. They weighed 9.8, 9.3, 9.5, and 9.5 pounds. Assume...
- B Biology Which of these materials would make the best stuffing for the jacket s puffy sections? A. Steel ball bearings B. Copper wiring C. Sealed packets of air D. Aluminum...
- M Mathematics What are the coordinates of the point on the directed line segment from (-8,-1) to (6,-9) that partitions the segment into a ratio of 3 to 1?...
- B Biology Help asapHow do human cells, a bacterial cell, and a virus compare in size?...
- M Mathematics Help will. Give show work...
- M Mathematics 48. Revenue, cost, and profit. The company in Problem 47 is also planning to manufacture and market a four-slice toaster. For this toaster, the research department’s...
- M Mathematics For what value of x do the expressions 1/2 +2 and 4/3 - 6 have the same value?...
- M Mathematics A study was done to determine the effect of eating different amounts of twinkies on energy levels in 7th grade students. Determine the following: Independent Variable:...
Ответ:
Ответ:
answer is c
Explanation: