oh the even doesnt need ot be centered. im just having trouble printing the triangle.
Type: Posts; User: Belvedeer84
oh the even doesnt need ot be centered. im just having trouble printing the triangle.
How would I distinguish between odd and even numbers?
I need to allow the user to input length n and draw a triangle as shown below based on the length n.
n = 7 (odd number)
*
***
*****
*******
(^should be...