Skip to content

Commit

Permalink
Update task.md
Browse files Browse the repository at this point in the history
language checked
  • Loading branch information
stephen-hero authored Dec 14, 2023
1 parent 58db8c8 commit 91cac03
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions TheFirstDateWithProgramming/ReadUserInput/task.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
In this task you will ask the user three questions and save their answers.
In this task, you will ask the user three questions and save their answers.

### Task

Expand All @@ -18,7 +18,7 @@ You must ask questions and record answers sequentially,
i.e. first ask the first question (_print_ it to console),
then record the answer in the _firstUserAnswer_ variable.
Then do the same with the second question and the _secondUserAnswer_ variable,
and the last question and the last _thirdUserAnswer_ variable.
and finally with the third question and the _thirdUserAnswer_ variable.

If you have any difficulties, **hints will help you solve this task**.

Expand All @@ -28,8 +28,8 @@ If you have any difficulties, **hints will help you solve this task**.

<div class="hint" title="Push me to view an example with the first question">

To print a question you can use the `println` function from the previous steps.
Then, no read the user input, you can use the `readlnOrNull` function:
To print a question, you can use the `println` function from the previous steps.
Then, to read the user input, you can use the `readlnOrNull` function:

```kotlin
fun main() {
Expand Down

0 comments on commit 91cac03

Please sign in to comment.