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 Odd-Even Rule in Delhi Problem #2749

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

Add Java Solution for Odd-Even Rule in Delhi Problem #2749

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

Comments

@Prathamesh-1011
Copy link

Prathamesh-1011 commented Oct 15, 2024

Description:
This issue is for adding a Java solution to determine whether cars with given numbers can run on Sunday based on the sum of odd and even digits. The car number is allowed to run if:

The sum of even digits is divisible by 4 or
The sum of odd digits is divisible by 3.

Problem Description:
Input: The first line contains an integer N (number of cars). The following N lines each contain a car number.
Output: For each car number, print "Yes" if it is allowed to run on Sunday, otherwise print "No."

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! :)

@Rajiv-paul
Copy link

Hi please assign me with this problem I would like to contribute this problem's solution as my first hacktober contribution

@vanshika1708
Copy link

Hi i have contributed for this problem statement so i request you to look into it

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

3 participants