hannahgrace4326 hannahgrace4326
  • 21-05-2020
  • Computers and Technology
contestada

What must be done to translate a posttest loop expressed in the form


repeat:


(. . . )


until (. . . )


into an equivalent posttest loop expressed in the form


do:


(. . . )


while (. . . )

Respuesta :

Аноним Аноним
  • 30-05-2020

Answer:

num = 0

while (num < 50):

if (num is Odd)

print(num is Odd)

num = num + 1

num = 0

repeat:

if (num is Odd)

print(num is Odd)

num = num + 1

until (num>=50)

Answer Link

Otras preguntas

Question 15 (2 points) Theme and Main idea are the same. True False
A store sells a certain digital camera model for $108. During a special promotion, the camera is discounted by 30%. What is the discounted price?
Changing the number of protons in an atom ONLY changes the weight of an atom. Need help ASAP
How is burning methane similar to burning magnesium?
Which land feature is formed by two oceanic tectonic plates diverging? * mid-ocean ridge volcanic island arc continental volcanoes continental mountain range
What is the value of y?
TIMED QUIZ HELP ME PL Z!!! Which statements show differences between Diane France and the Number Devil? Select all that apply. One is clever.One is an expert in
what is the oppisite of -4
Describe one major problem of rapid city growth in Mexico city?
Calculate the mmoi of a tire that weighs 15.0 kg and has a radius of 30.0 (treat it as a hoop )