Problem 45369. Sky full of stars - 02
draw an isosceles triangle with asterisks of size n. For example, for n=6
' * ' ' *** ' ' ***** ' ' ******* ' ' ********* ' '***********'
There can be two types -- top(t) or bottom(b).
Previous problem
https://www.mathworks.com/matlabcentral/cody/problems/45368-sky-full-of-stars-01
Solution Stats
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers24
Suggested Problems
-
Arrange vector in ascending order
769 Solvers
-
251 Solvers
-
343 Solvers
-
Deleting an element in a matrix
460 Solvers
-
Converter temp 0 to 200 degree C to 4 to 20mA
91 Solvers
More from this Author165
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!