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 Solvers25
Suggested Problems
-
The Hitchhiker's Guide to MATLAB
3353 Solvers
-
Generate a vector like 1,2,2,3,3,3,4,4,4,4
12849 Solvers
-
522 Solvers
-
What is Sum Of all elements of Matrix
430 Solvers
-
10723 Solvers
More from this Author174
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!