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 comments
Loading...
Problem Recent Solvers26
Suggested Problems
-
Select every other element of a vector
36527 Solvers
-
Find the longest sequence of 1's in a binary sequence.
6740 Solvers
-
1631 Solvers
-
6354 Solvers
-
85 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!