So I managed to get the intended result for Week 1 problem set 1 Mario (less comfortable), but I'm not sure if my solution would be considered good code.
In line 11, is it ok to have subtracted by 1? Without it there would be one to many spaces (or dots) in the final result. Also in the same line, why does 's--' need a ; at the end while the 'i++' and 'j++' don't?
for (int s = h - i - 1; s--;)
[solution code snipped]