Computer Science, asked by atikkhatib007, 3 months ago

In the below program what number needs to be input in step “Print Colours$[…] to obtain

the output as Blue?

Dim Colours$(4)

Colours$ = {“Red”, ”Green”, ”Yellow”, ”Blue”}

Print Colours$[……]

a) 0

b) 2

c) 3

d) 4​

Answers

Answered by purnapushkalam1991
1

Answer:

c) 3

Explanation:

because in array it is calculated from 0

so Colours$[0]- Red

Colours$[1]- Green

Colours$[2]- Yellow

Colours$[3]- Blue

for blue the answer is c) 3

Similar questions