Question: Assignment Write a program that displays an ASCII art sandwatch using two isosceles triangles as below. The line count of the triangle will be given

 Assignment Write a program that displays an ASCII art sandwatch using

Assignment Write a program that displays an ASCII art sandwatch using two isosceles triangles as below. The line count of the triangle will be given as an int value (lineCount) Example: lineCount = 5, the output will be as below * * * * * * * * NOTE: The rectangles will NOT be drawn. They are given to make sure that you see the blanks clearly. NOTE: The lineCount value will ALWAYS be given greater than 3. DO NOT check this. NOTE: You MUST use at least one nested loop in this question. Input 3 6 *********** ***** ** Output ******* * ***********

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!