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
-
Find the longest sequence of 1's in a binary sequence.
6386 Solvers
-
Given an unsigned integer x, find the largest y by rearranging the bits in x
1863 Solvers
-
Find the sum of the elements in the "second" diagonal
1163 Solvers
-
MATCH THE STRINGS (2 CHAR) very easy
292 Solvers
-
Saving MATLAB session to a file
185 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!