Computer Science, asked by chaoticuser33, 5 months ago

What will be the output of the following code?

int k,sum;

k=1; sum=0;
while(k<10)

{ sum=sum+k;

cout<<k<<sum;

k=k+2;​

Answers

Answered by ramp50490
1

Answer:

k = k +2

1 = 1+3

it is not equal

Explanation:

all are not equal

Similar questions