What will be the output of the following program segment- for(i=1;i<=10;i=i+2) { sum=sum+ i; } System.out.println(sum);
25
55
26
24
Answers
Answered by
3
Answered by
2
Answer:
What will be the output of the following program segment- for(i=1;i<=10;i=i+2) { sum=sum+ i; } System.out.println(sum);
25
55
26
24
Explanation:
hloooooo hiiiiii shouryaa goooddd morning ❤❤❤❤
Similar questions
Math,
1 month ago
Social Sciences,
1 month ago
Math,
1 month ago
English,
2 months ago
World Languages,
2 months ago
Math,
8 months ago
English,
8 months ago