Let A,B,C 3 int with 3 digit. C=A+B. Find all A B C that makes the sum of C's digits =18. Ex. 152+487=639. (6+3+9=18) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Let A,B,C 3 int with 3 digit. C=A+B. Find all A B C that makes the sum of C's digits =18. Ex. 152+487=639. (6+3+9=18)

please i need help

5th Mar 2018, 10:16 PM
MONCEF M
MONCEF M - avatar
1 Answer
+ 1
This is not the most efficient way ... https://code.sololearn.com/cnUpWOMnGAzB/#java
6th Mar 2018, 8:30 AM
Prokopios Poulimenos
Prokopios Poulimenos - avatar