what would be the value of the result ? int result,x; result=0; while (x<=10) { if (x%2==0) result+=x;++x;}
Attachments:
Answers
Answered by
0
the value of result is 5........
Similar questions
Chemistry,
6 months ago
Science,
6 months ago
Hindi,
6 months ago
English,
11 months ago
English,
11 months ago
Social Sciences,
1 year ago
Social Sciences,
1 year ago