0

Alright, I'm not sure if this is my problem or a problem with but it wants me to double indent everything in my main and everything after main. I don't think that this is stylistically correct and runs fine on my other code.

[removed for academic honesty]

style50 says:

:( 28  Incorrect indentation. Expected 8, found 4.
:( 31  Incorrect indentation. Expected 8, found 4.
:( 32  Incorrect indentation. Expected 8, found 4.
:( 33  Incorrect indentation. Expected 12, found 8.
:( 34  Incorrect indentation. Expected 12, found 8.
:( 35  Incorrect indentation. Expected 16, found 12.
:( 36  Incorrect indentation. Expected 16, found 12.
:( 41  Incorrect indentation. Expected 8, found 4.
:( 43  Incorrect indentation. Expected 8, found 4.
:( 45  Incorrect indentation. Expected 8, found 4.
:( 49  Incorrect indentation. Expected 4, found 0.
:( 50  Incorrect indentation. Expected 4, found 0.
:( 52  Incorrect indentation. Expected 8, found 4.
:( 55  Incorrect indentation. Expected 8, found 4.
:( 56  Incorrect indentation. Expected 8, found 4.
:( 59  Incorrect indentation. Expected 12, found 8.
:( 60  Incorrect indentation. Expected 12, found 8.
:( 63  Incorrect indentation. Expected 16, found 12.
:( 64  Incorrect indentation. Expected 16, found 12.
:( 67  Incorrect indentation. Expected 20, found 16.
:( 68  Incorrect indentation. Expected 20, found 16.
:( 69  Incorrect indentation. Expected 24, found 20.
:( 74  Incorrect indentation. Expected 20, found 16.
:( 75  Incorrect indentation. Expected 20, found 16.
:( 76  Incorrect indentation. Expected 24, found 20.
:( 82  Incorrect indentation. Expected 16, found 12.
:( 83  Incorrect indentation. Expected 16, found 12.
:( 86  Incorrect indentation. Expected 20, found 16.
:( 87  Incorrect indentation. Expected 20, found 16.
:( 88  Incorrect indentation. Expected 24, found 20.
:( 93  Incorrect indentation. Expected 20, found 16.
:( 94  Incorrect indentation. Expected 20, found 16.
:( 95  Incorrect indentation. Expected 24, found 20.
:( 101  Incorrect indentation. Expected 16, found 12.
1

Delete the extra curly braces {} from your first if in your main(), lines 18 and 21. That will solve the indentation errors. Then you just have to add some more spaces in your +'s.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .