10-06-2022, 08:47 PM
what is the final of count after completing the following instructions
step 1: obtain 3 numbers x, y, and count. they are all 0
step 2: if x is lesser than 3, go to step 3, otherwise go to step 8
step 3: if y is lesser than 5, go to step 4, otherwise go to step 6
step 4: increase count by 1, increase y by 1
step 5: go back to step 3
step 6: increase x by 1 set y to o
step 7: go back to step 2
step 8: end
step 1: obtain 3 numbers x, y, and count. they are all 0
step 2: if x is lesser than 3, go to step 3, otherwise go to step 8
step 3: if y is lesser than 5, go to step 4, otherwise go to step 6
step 4: increase count by 1, increase y by 1
step 5: go back to step 3
step 6: increase x by 1 set y to o
step 7: go back to step 2
step 8: end