Skip to content

Conversation

@mike-turintech
Copy link
Member

Rename sumSquare method to sumTriangle in Double class

This PR renames the sumSquare method to sumTriangle in the Double class to better reflect its actual functionality. The method signature and parameters remain unchanged - it still accepts an int n parameter and returns an int value. Only the method name has been updated to improve code clarity and maintainability.

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.

3 participants