Write a program that uses an "if" statement to determine if the number is greater than one. If the number is greater than 1, the program calculates the square and cube of the number and displays the output to the user.
This is written in C#, and it's probably not as clean as it could be. I'm not sure what language you wanted it in, so I just picked the one I'm most familiar with.