Question: You are given the data list and the instructions below. Do the short desk check to determine the answers and then write each answer under
You are given the data list and the instructions below.
Do the short desk check to determine the answers and then write each answer under the respective question. REMINDER: do NOT modify or annotate the given code.
Data List:
LET count
INPUT max
DO WHILE count max
INPUT num
LET count count
LOOP
OUTPUT The last number is: num
OUTPUT It repeated the loop count, times
a How many times will the DO WHILE loop be executed?
b What will be the content of the variable max?
c What will be the value of count when the loop is exited?
d Show what will appear on the output device after all the instructions are executed
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
