The program below is the solution to Liang’s Introduction to Java Programming (9th Edition) Chapter 3 Exercise 3.2.

Question: The program in Listing 3.1 generates two integers and prompts the user to enter the sum of these two integers. Revise the program to generate three single-digit integers and prompt the user to enter the sum of these three integers.

Solution to Liang's Java Exercise 3.2: Game: Add Three Numbers

Click here to see other solutions to Introduction to Java Programming.