Senin, 13 April 2020

SMALL BASIC: Programming quiz #3

1. What will be the result or the output of these lines of code?
For i = 0 To 10
  g[Array.getitemcount(g)+i] = i
EndFor
  TextWindow.WriteLine(g)

2. What will the output of these lines below, do you think its working?
start = 100

For i = (start - 1) To 1
  TextWindow.WriteLine(i)
  Program.Delay(1000)
EndFor

Tidak ada komentar:

Posting Komentar