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
-
Find the maximum number of decimal places in a set of numbers
2623 Solvers
-
Given a matrix, return the last eigen value
216 Solvers
-
Sum of first n positive integers
571 Solvers
-
4730 Solvers
-
Convert from Fahrenheit to Celsius
21744 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!