Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started