Solved

Rewrite the Following Routine Using a Pretest While Statement

Question 28

Essay

Rewrite the following routine using a pretest while statement.
 repeat:  print (X)X=X+1 until (X>5)\begin{array} { l } \text { repeat: } \\\quad \text { print } ( \mathrm { X } ) \\\mathrm { X } = \mathrm { X } + 1 \\\text { until } ( \mathrm { X } > 5 )\end{array}

Correct Answer:

verifed

Verified

One possib...

View Answer

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions