Doubled

Task
Write a program which asks the user to enter a number, and then displays the double of that number by adding the number to itself.

Design
Before we write this program, we need to think about writing a design. The first step of the design is to consider the **Inputs**, **Processes** and **Outputs** of the program.

Q: What are the inputs to this program? A: The user will input a number

Q: What are the processes in the program? A: The program will double the input

Q: What are the outputs from this program? A: The program will display the doubled number

Copy the design for Inputs, Processes and Outputs into your jotter as follows:
 * Inputs:** A number
 * Process:** Double the number
 * Outputs:** The doubled number

Next, let's consider the variables required for this program. We need to create 2 variables:
 * MyNumber** - this will store the number which the user inputs
 * Doubled** - this will store the doubled number

Lastly, let's consider what steps we want the program to do: 1. Get a number from the user 2. Double the number 3. Display the number

Make sure you copy the variables and the 3 steps into your jotter.

Testing
Now test your program. Make sure that you test different inputs.

Extension
1. Adapt the program so that it asks the user for a number and displays the square of that number (multiplies the number by itself). Make sure that you use appropriate variable names.

2. Adapt the program so that it asks the user for a number and displays the cube of that number (multiplies the number by itself, and by itself again). Make sure that you use appropriate variable names.