Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update task.md #172

Merged
merged 1 commit into from
Dec 15, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading