0
Java program
Please find the Coding challenge: For a Range of 0 - 500 numbers, find all the numbers that satisfy both the below conditions 1)The number should have duplicate digits 2)The sum of the digits should be less than or equal to 5
3 Answers
+ 2
Mukesh Pls edit your question description and add a link to your code from Code Playground and an explanation of your difficulties. We should know what help you need.
+ 1
for n = 0 to 500
If hasDuplicates(n)
If sum(n) == 5
list.Add(n)
Where are you stuck
0
Pls show me with java