You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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! :)
The text was updated successfully, but these errors were encountered:
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! :)
The text was updated successfully, but these errors were encountered: