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 Solvers25
Suggested Problems
-
MATCH THE STRINGS (2 CHAR) very easy
301 Solvers
-
Calculate the Number of Sign Changes in a Row Vector (No Element Is Zero)
904 Solvers
-
Rotate a matrix for 180 degree
217 Solvers
-
Determine whether the input is divisible by 3 as well as 5
94 Solvers
-
7521 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!