Consider the following program written in a toy programming language. (The meaning of the various commands in this language should be obvious, but if you're confused, click here for the language description) array A = 1, 2, 7, 4, 6, 2, -1, 4, 6 read N set I = set ) = e while I < N if A[I] 5 2 = set ) = A[1] endir set I = 1+2 endwhile write ) The first line of the program declares and initializes an array with 9 elements as shown. The second line of the program reads an integer from the input and stores it in N. The rest of the program does some computation, and the last line of the program prints the value of the variable 3 to the output. What number should be provided as input to this program, to make it print - 4 as the output Answer
Answers
Answered by
1
Answer:
jfhkhkfkzhfkcyfyfhchchchcchucucuc
Explanation:
hcxychcuvig
Similar questions