Цей браузер більше не підтримується.
Замініть його на Microsoft Edge, щоб користуватися перевагами найновіших функцій, оновлень безпеки та технічної підтримки.
Which one of the following statements is true?
An If block may have unlimited alternative conditions.
An If block can have only five alternative conditions.
What is the difference between If and Switch blocks?
There is no unconditional case in a Switch block.
Switch blocks use the same input variable in all their cases.
When would you want to implement a Switch block?
When you have to check the values of multiple variables against multiple values.
When you have to check the value of one variable against multiple values.
You must answer all questions before checking your work.
Чи була ця сторінка корисна?
Потрібна допомога із цією темою?
Хочете скористатися Ask Learn, щоб отримати пояснення чи інструкції із цієї теми?