✅ Перевірена відповідь на це питання доступна нижче. Наші рішення, перевірені спільнотою, допомагають краще зрозуміти матеріал.
Consider the following sequence of instructions. Assume that the user has typed the values 0, 2, 4, 30, 12, 18, 24 in order. What is the last value read?
i <- 1
val <- 0
Do
Read(val)
i <- i + 6
While (val % 6 != 0)