Makes 10 | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Makes 10

Hello, I have a questions to below code: https://code.sololearn.com/cDrxkx2BhG9H/#java First how to display three time diferent result, Second how to display numbers next to true/false e.g like this: makes10(9, 10) -> true; makes10(9, 9) -> false; makes10(1, 9) -> true;

3rd Apr 2018, 11:22 AM
Łukasz Stachura
Łukasz Stachura - avatar
3 Answers
+ 1
Thank you guys!!!
3rd Apr 2018, 11:42 AM
Łukasz Stachura
Łukasz Stachura - avatar
0
You can use the line I fixed as reference. https://code.sololearn.com/cqt4OAyLr1U1/?ref=app
3rd Apr 2018, 11:26 AM
cyk
cyk - avatar
0
Heres your corrected code...I just added another function and called that three times... https://code.sololearn.com/cb8aoE2S9TpB/?ref=app
3rd Apr 2018, 11:39 AM
SatyaJit Pradhan
SatyaJit Pradhan - avatar