Write a statement to assign numeric values 65, 75, 80, 87, 90 to an array named stumarks.
Answers
Answered by
0
Answer:
fwvvwrg rg g efwgrwvedvwvavb wdvmglwr rg we r the equation ge gr. g grw grq g r to evu y the first to
Explanation:
rb to the first to comment on the first one is intended only for the first to comment on the first to comment on your hand at a rational mind and questions doesn't match to evu lagsene the equation that the
Answered by
0
The statement to assign numeric values to an array is given below.
EXPLANATION:
We can do this in two ways:
a) int[ ] stumarks = {65,75,80,87,90};
b) This can also be done as:
int[ ] stumarks = new int[5]; //declaration of the variable
Then assigning the numeric values
stumarks [0] = 65;
stumarks [1] = 75;
stumarks [2]=80;
stumarks [3] = 87;
stumarks [4] = 90;
Similar questions