Computer Science, asked by amondal76, 8 months ago

) State the output of the following program segment:

int i=1;

int s[]={2,4,6,7,8,9,10};

while(i<s.length)

{

System.out.println(s[i]+1);

if(i<s.length-3)

s[i+1]++;

i++;

}​

Answers

Answered by Shreya2202
0

Answer:

Hi

Sorry but I can't able to understand your question

Explanation:

Mark it brainliest

Follow me

Thank me

Similar questions