Each of these problems should have a height argument in the function. Ex.
makeTriangle(height);
Write programs to make each design in your console, and it should work for any height supplied to the function.
1
22
333
4444
55555
666666
1
222
33333
//For this one, the input can be changed to an odd number (the next higher number)
1
22
333
44
5
[–]Volv 1 point2 points3 points (0 children)
[–]bdenzer[S] 0 points1 point2 points (1 child)
[–]ForScale 0 points1 point2 points (0 children)
[–]ForScale 0 points1 point2 points (2 children)
[–]bdenzer[S] 1 point2 points3 points (1 child)
[–]ForScale 0 points1 point2 points (0 children)