Social Sciences, asked by ritamalhotra3820, 1 year ago

Predict the output “sum” in the following program. sum = 0 for i in range (1, 11, 2): sum+ = i print “sum=”, sum
(A) 11
(B) 22
(C) 24
(D) 25

Answers

Answered by bikku29
12

int i;

i=0;

repeat

i=i+1; <====== PASCAL PROGRAM

print i;

until(i<10)

end

No. of times the loop is executed?

55. For the following program

Convert (int A,var ,int B;int c)

{A=10;

B=4-;

C=120;

}

Convert (inta,b,c)

{ <====== PASCAL PROGRAM

a=1;

b=4;

c=12;

}


I hope this will help you

XD

Answered by somsadarpur44
0

Answer:

Explanation:

25

Similar questions