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
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
Social Sciences,
1 month ago
CBSE BOARD X,
1 month ago
Biology,
1 month ago
Science,
3 months ago
Science,
3 months ago
CBSE BOARD X,
10 months ago
Math,
10 months ago