Skip to content

Conversation

@siambasher123
Copy link

for my lab assignment


public int add(int a, int b) {
return a + b + 2; // deliberately different change
}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
}
}

public class Calculator {

public int add(int a, int b) {
return a + b + 2; // deliberately different change

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should take care of your indents:

Suggested change
return a + b + 2; // deliberately different change
return a + b + 2; // deliberately different change

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants