Create the logic for a program that continuously prompts a user for a numeric Solution

Create the logic for a program that continuously prompts a user for a numeric value until the user enters 0. The application passes the value in turn to the following methods:

• A method that displays all whole numbers from 1 up to and including the entered number
• A method that computes the sum of all the whole numbers from 1 up to and including the entered number
• A method that computes the product of all the whole numbers up to and including the entered number


Powered by