Java App | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

Java App

Need a Write Java Program to list out all possible combinations of two numbers, in which each number consists of 3 digits, when added will produce the figure 888. Note, Digits used in both numbers cannot be repeated. Sample of output: 1) 102 + 786 = 888, 2) 103 + 785 = 888, 3) 104 + 786 = 888... Anybody can help me...

5th Oct 2020, 4:00 PM
Mateus Borja
Mateus Borja - avatar
1 Answer
+ 1
This is it in Java. Its nice challenge. https://code.sololearn.com/czAquLe55OR9/?ref=app
7th Oct 2020, 12:08 PM
Mateus Borja
Mateus Borja - avatar