Write a program segment that displays the contents of a previously declared array of strings called Names. Assume that the last entry in Names is "ZZZ", which should not be displayed.
What is the output of code corresponding to the following pseudo code?
Declare N As Integer
Declare K As Integer
Declare X[100] As Integer
Set N = 4
Set K = 1
While K
Set X[K] = K^2
Set K = K + 1
End While
Write X[N/2]
Write X[1] + " " + X[N − 1]
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here