+ 3

Guys, need help with a Java Program??!!

Would be great if you'd help me. The question is.... Write a program to enter a number and print the sum of the last and the first digits of the number and product of the rest of the digits. Ex...if i input a number like 15234. I have to print he sum of 1 and 4 and product of 5,2 and 3. This has to be done in java. Using while loop. Man, it would be great if you'd spare some time to help me.

9th Oct 2017, 4:55 PM
Aaron Stone
Aaron Stone - avatar
1 ответ