Public feed
#722608
In the following Algorithm segments, indicate whether or not the loop will terminate. If it will not, why not? Assume it is all integer variables.
counter <-- 0
total <-- α
DOWHILE counter >= α
total <-- total + 2
ENDDO
b) total <-- 0
index <-- 1
REPEAT
total <-- total +1
index <-- index + 1
UNTIL index = 10