News
//This is from a Youtube video that I thought described for loops fairly well. for (i = 1; i <= 10; ++i) { //the video shows the incrementation using i++, but WGU says it's safer to use ++i.
Write a Java program that prompts the user to enter a positive integer. Use a Scanner object to read user input. Sum the Digits: Use a while loop to calculate the ... Subtraction 3. Multiplication 4.
Some results have been hidden because they may be inaccessible to you
Show inaccessible results