Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Oct 27, 2024. It is now read-only.

Added SumListIterative #14

Merged
d-coder111 merged 1 commit into d-coder111:main from HenrikTennebekk:sum-list-iterative
Oct 7, 2023
Merged

Added SumListIterative #14

d-coder111 merged 1 commit into d-coder111:main from HenrikTennebekk:sum-list-iterative
Oct 7, 2023

Conversation

@HenrikTennebekk
Copy link
Contributor

@HenrikTennebekk HenrikTennebekk commented Oct 7, 2023

Hello.

I’ve added a new class called SumListIterative in our codebase. This class provides methods to sum elements of a list of integers, longs, and doubles. Here’s a brief overview of the changes:

New Methods: The SumListIterative class includes three methods:

1: sumInt(List list): Sums the elements of a list of integers.
2: sumLong(List list): Sums the elements of a list of longs.
3: sumDouble(List list): Sums the elements of a list of doubles.

Javadoc Comments: I’ve added Javadoc comments for each method to provide a clear explanation of what each method does.

Basic Tests: I’ve also included some basic tests in the main method for each sum method.

Copy link
Owner

@d-coder111 d-coder111 left a comment

Choose a reason for hiding this comment

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

Great👍..show some support by starring if it helped you as a beginner ✌

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

Reviewers

1 more reviewer

@d-coder111 d-coder111 d-coder111 approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /