Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Java Solution for Summing Odd and Even Placed Digits Problem #2748

Open
Prathamesh-1011 opened this issue Oct 15, 2024 · 0 comments
Open

Comments

@Prathamesh-1011
Copy link

Prathamesh-1011 commented Oct 15, 2024

Description:
This issue is for adding a Java solution to compute the sum of odd-placed and even-placed digits of a given integer N. The solution will print the sum of the digits placed at odd positions followed by the sum of the digits at even positions.

Problem Description:
Input: A single integer N where 0 < N ≤ 1,000,000,000.
Output: The sum of digits placed at odd positions on the first line and the sum of digits placed at even positions on the second line.

Hello @DHEERAJHARODE , I am a Hactoberfest - 2024 contributer, I want to contribute the solution of the problem statement to this repository. Kindly assign this issue to me. Thank you! :)

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

No branches or pull requests

1 participant