Please answer the question number P
Attachments:
Answers
Answered by
2
Answer:
I is 7 and s is 4 and loop will execute 3 times........hope it helps ❤️
Answered by
2
Answer:
i=1
s=1
(a) given:s=s+1
s=1+1(from above)
s=2
also, i=i+2
i=1+2(from above)
i=3
In other case: i<=5
i=s from above
i=i+2 => i=5+2 => i=7
s=s+1
s=7+1 =8 (fom i=7)
sorry i don't know part(b)
Similar questions