) 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++;
plz tell the output
Answers
Answered by
3
Answer:
3
6
8
9
10
10
11
Explanation:
s[i+1]++ is executed for i = 0,1,2,3
Answered by
0
Answer:
I will give him dj Alok ok.........
Similar questions
Science,
5 months ago
Psychology,
5 months ago
Computer Science,
5 months ago
English,
10 months ago