0

need help? I want to find out sum of product digits of two numbers in java ?

for example : if numbers are 23 and 37 then output is 2*3+2*7+3*3+3*7=50....

31st Aug 2018, 9:03 PM
rahul
2 Réponses
+ 1
I think the easiest way is split every number to String array and use for in for to calculate it. #Edit I can show you my example but first try to do it by yourself :)
31st Aug 2018, 9:22 PM
Michal
Michal - avatar
0
provide your attempt please
31st Aug 2018, 9:13 PM
hinanawi
hinanawi - avatar