Challenge: if Condition
Uppgift
Swipe to start coding
- Declare an integer variable for the user’s age.
- If the user is 18 or older, print
Access granted. - If the user is between 13 and 17, print
Access limited. - If the user is 12 or younger, print
Access denied.
Lösning
Var allt tydligt?
Tack för dina kommentarer!
Avsnitt 3. Kapitel 8
single
Fråga AI
Fråga AI
Fråga vad du vill eller prova någon av de föreslagna frågorna för att starta vårt samtal
Fantastiskt!
Completion betyg förbättrat till 1.25
Challenge: if Condition
Svep för att visa menyn
Uppgift
Swipe to start coding
- Declare an integer variable for the user’s age.
- If the user is 18 or older, print
Access granted. - If the user is between 13 and 17, print
Access limited. - If the user is 12 or younger, print
Access denied.
Lösning
Var allt tydligt?
Tack för dina kommentarer!
Avsnitt 3. Kapitel 8
single