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
-
Calculate the area of a triangle between three points
3475 Solvers
-
1730 Solvers
-
5941 Solvers
-
6163 Solvers
-
Find the sides of an isosceles triangle when given its area and height from its base to apex
2171 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!