eshanicky / ROST1

Numbers in turtle sim
0 stars 0 forks source link

Bracketing #1

Open naishadhparmar opened 6 years ago

naishadhparmar commented 6 years ago

The bracket should start from a different line only after int main(). In the rest of the code bracketing should start from the same line. Instead of:

int main(int argc, char **argv)
{
        .
        .
    if(a!=b)
    {
                .
                .
        switch(a)
        {
                }
         }
}

it should be:

int main(int argc, char **argv)
{
        .
        .
    if(a!=b) {
                .
                .
        switch(a) {
                }
         }
}
Mayankm96 commented 6 years ago

Hey @naishadhparmar, You can also point out the errors in the line number using code highlighting in git.

naishadhparmar commented 6 years ago

@Mayankm96 corrected my comment.