[Solved] right angle triangle to the right of odd *


Your outer loop is testing against x but within that you are again using x as a loop variable and when that loop ends you are setting x less than 0 with x = x - 2. So the outer loop condition isn’t going to work.

solved right angle triangle to the right of odd *