Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

need to create upside down triangle with asterisks and spaces, should look like: ***** **** *** ** * must only use nested for loops to

need to create upside down triangle with asterisks and spaces, should look like:

*****

****

***

**

*

must only use nested for loops to create this triangle. editor is not letting put the asterisks under each other but it should start with 5 asterisks and decrease by until we get to 1 and must have spaces in front of asterisks as we decrease number of asterisks in each row

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions