hat will be the output of the below program? List what will be outputed to the screen and explain your answer.
class Class_name
main()
// Declarations
num index
num SIZE = 10
num numbers[SIZE] = 0,0,0,0,0,0,0,0,0,0
index = 0
while index < SIZE
numbers[index]= index * 10
index = index + 1
endwhile
output “The Output is: ”
while index > 0
index = index – 1
output numbers[index]
endwhile
return
endClass
EMAIL ME For Solution:
topsolutions8@gmail.com
class Class_name
main()
// Declarations
num index
num SIZE = 10
num numbers[SIZE] = 0,0,0,0,0,0,0,0,0,0
index = 0
while index < SIZE
numbers[index]= index * 10
index = index + 1
endwhile
output “The Output is: ”
while index > 0
index = index – 1
output numbers[index]
endwhile
return
endClass
EMAIL ME For Solution:
topsolutions8@gmail.com