Write the program that reads two numbers from the keyboard. It
then calculates and print the sum, product, difference of the two
numbers including the two numbers entered. The program should prompt the
user to continue or exit. If the user enters a (Y/y) then the program
prompts the user to enter two numbers else the program exit.
If the sum of the two numbers is an even number then multiply the sum by 2.5 and print the new result.
If product of the two numbers is not an even number, then multiply
the product by 2 and print the new result. The program must also print
the two numbers entered.
If difference of the two numbers (number 1 – number 2) is a
negative number then add 10 to the difference of the numbers and print
the new result.
2. Write a program that prints the number series from 1 to a user-specified limit in the form of a rectangle. Please see example below.
1 2 3
1 2 3 4
1 2 3 4 5
1 2 3 4 5 6
Write a program that prompts the user to input two
numbers, the multiplicand (which is the number to be multiplied or
repeated), and the maximum multiplier (which is the number by which it
is to be multiplied (repeat count).
The program should print the multiplication table of the multiplicand
from 1 up to the multiplier. For example, if the user enters 10
(multiplier) and 5 multiplicand then the program should print as