Fixed bug

This commit is contained in:
vipermad
2021-04-11 13:18:09 +03:00
parent c5f5c55719
commit c9af366027

View File

@ -9,7 +9,7 @@ public class Main {
if (i<10){
result += i;
}else {
result = result + (number % 10) + (number/10);
result = result + (i % 10) + (i/10);
}
}
System.out.println(result);