Task 3: Find the numbers that can be expressed as the product of two nonnegative integers in succession and print them in increasing order. For each number found the program should check whether the number is a multiple of 5 and indicate this in the output. (For example, 30 is such a number as it can be written as the product of 5 and 6 (30=5x6), which are two numbers in succession.) The user should specify how many such numbers they want to print. Your application should be user friendly. First, you create an initial menu that the user sees when they execute the application. The menu should display the list of operations (the three tasks) that the application can perform. In your menu design, if user enters M or m, the application should print a list of the multiples of the number The user specifies how many numbers to print. The program should display the user’s selection before printing the output. If the user enters a selection which is different from the choices offered, the program should output an error message. After a task has been completed, the user should be given the option to select another task, or to exit
Max Function
Statistical function is of many categories. One of them is a MAX function. The MAX function returns the largest value from the list of arguments passed to it. MAX function always ignores the empty cells when performing the calculation.
Power Function
A power function is a type of single-term function. Its definition states that it is a variable containing a base value raised to a constant value acting as an exponent. This variable may also have a coefficient. For instance, the area of a circle can be given as:
Task 3: Find the numbers that can be expressed as the product of two nonnegative integers in
succession and print them in increasing order. For each number found the program should check
whether the number is a multiple of 5 and indicate this in the output. (For example, 30 is such a
number as it can be written as the product of 5 and 6 (30=5x6), which are two numbers in
succession.) The user should specify how many such numbers they want to print.
Your application should be user friendly. First, you create an initial menu that the user sees when they
execute the application. The menu should display the list of operations (the three tasks) that the
application can perform.
In your menu design, if user enters M or m, the application should print a list of the multiples of the number
The user specifies how many
numbers to print.
The program should display the user’s selection before printing the output. If the user enters a selection
which is different from the choices offered, the program should output an error message. After a task has
been completed, the user should be given the option to select another task, or to exit
Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 1 images