A variable like userNum can store a value like an integer. Extend the given program as indicated.
Output the user's input. (2 pts)
Output the input squared and cubed. Hint: Compute squared as userNum * userNum. (2 pts)
Get a second user input into userNum2 and output the sum and product. (1 pt)

Note: This zyLab outputs a newline after each user-input prompt. For convenience in the examples below, the user's input value is shown on the next line, but such values don't actually appear as output when the program runs.

Relax

Respuesta :