Settings

            

Inputs

Before we used fixed values in programs. But sometimes we want to take values as input from user. When a value gets read from the user, we store it in a variable. Let's write a program that reads a number from the user and outputs double the value:

For example, if the user enters number 9, output should be 18.

CodeExploreLearnLog In