Get the answers you need at Westonci.ca, where our expert community is dedicated to providing you with accurate information. Our platform provides a seamless experience for finding reliable answers from a network of experienced professionals. Get immediate and reliable solutions to your questions from a community of experienced professionals on our platform.

Write a program that calculates and prints, the sum and product of all the digits in an integer value read from the keyboard. Hint: The textbook has a sample program ReverseNumber.java which can be very helpful. We also note that you can also use while or for loop to do this question. Modify your Java program into an equivalent alternative where all the loop constructs in the previous subquestion should be replaced by a different alternative loop construct. For example, wherever you used a while-loop, that loop should be replaced by a do-loop or for-loop, and vice versa.