Week 2 exercise 40.2, ComparisonFailure: Problem in printTriangle(1)

89 views
Skip to first unread message

magnuss...@gmail.com

unread,
May 16, 2016, 2:16:42 PM5/16/16
to mooc.fi
Hi,

I'm having problems with week 2 exercise 40.

So I'm at 40.2. I've managed to print the triangle. Initially my problem was to get the right amount of whitespaces for a different amount of rows than 5 as i had a fixed value assigned to j. But that was fixed by assigning it to size. But the problem still persists when I'm only using one row. 

The link to my work is here: PASTE TMC PASTEBIN LINK HERE

Best regards
Reply all
Reply to author
Forward
0 new messages