> For the complete documentation index, see [llms.txt](https://adnanattar.gitbook.io/animal-script-language-guide/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://adnanattar.gitbook.io/animal-script-language-guide/input-statement.md).

# Input Statement

**Input Statement:**

**Syntax:**

```
Dolphin <variable_name>
```

**Explanation:** The `Dolphin` statement in Animal-Script is used to take user input and assign it to a variable. The syntax consists of two components:

1. `Dolphin`: This keyword initiates the input statement.
2. `<variable_name>`: This is the name of the variable to which the user input will be assigned.

**Example:**

```
Dolphin age
10
```

In this example, the program prompts the user to enter a value for the variable `age`.

**Output:**

```
Variable age set to 10.
```

The program waits for the user to input a value. Once the user enters a value and presses Enter, the value is assigned to the variable `age`.

**Usage:**

* The `Dolphin` statement is commonly used in programs that require user input for dynamic behavior or to customize the program's behavior based on user input.
* It allows programs to interact with users, making them more user-friendly and interactive.
* After using the `Dolphin` statement, the value entered by the user can be used in subsequent calculations, comparisons, or other operations within the program.
