You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: 1-js/02-first-steps/12-while-for/6-repeat-until-correct/task.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,12 +2,12 @@ importance: 5
2
2
3
3
---
4
4
5
-
# Repeat until the input is correct
5
+
# Kartoti kol įvestis bus teisinga
6
6
7
-
Write a loop which prompts for a number greater than `100`. If the visitor enters another number -- ask them to input again.
7
+
Parašykite ciklą, kurios prašytų skaičių didesnio už `100`. Jeigu lankytojas įveda kitokį skaičių -- paprašykite dar kartą įvesti.
8
8
9
-
The loop must ask for a number until either the visitor enters a number greater than `100`or cancels the input/enters an empty line.
9
+
Ciklas turi prašyti skaičio tol kol lankytojas įves skaičių didesnį nei `100`arba atšauks (ang. cancels) įvestį arba paliks tuščią eilutę paspausdamas enter.
10
10
11
-
Here we can assume that the visitor only inputs numbers. There's no need to implement a special handling for a non-numeric input in this task.
11
+
Čia galime numanyti, kad lankytojas ves tik skaičius. Nėra reikalo atskirai pasirūpinti neskaitine užduoties įvestimi.
0 commit comments