hi i was wonderin if any 1 could help me with these problems???Write a program that accepts 3 integer values and outputs them in ascending order.
a) Write a program that outputs the numbers from 30 to 1 (in descending order).
b) Write a program that outputs the numbers from 0 to 20 and their squares, i.e., program output should look like this:
The square of 0 is 0.
The square of 1 is 1.
The square of 2 is 4.
:
:
The square of 20 is 400.
c) Write a program that asks the user for a positive number between 1 and 100 inclusive. If the user enters a valid number, the program then outputs a list of the even numbers between 1 and that number inclusive; if the user enters an invalid number, the program outputs an error message.