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

Why don’t many cyber criminals ever go to jail?
why is everyone's questions so easy? just comment and let me know if you need help!
Aurora is a neuropsychologist focused on mapping certain reward circuits in the brain. She is not concerned about how her work might be used to change behavior
If Jacob owns 12 books, how many different ways can he arrange 3 of these books on a single bookshelf
Micheal took a swab of bacteria from a Petri dish and placed it on a glass slide. Then he treated the sample with a series of dyes. For which type of microscope
Describe Roman improvements to Greek architecture.
What is the equation of a line that has a slope of 4/3 and goes through the point (0, – 3), in slope-intercept form?
To multiply the fraction 2/4 by 3/5, which numbers would you multiply?
What are the environmental pressures of the plant the cactus?
Consider the thermochemical equation for the combustion of acetone (c3h6o), the main ingredient in nail polish remover. c3h6o (l) + 4 o2 (g) à 3 co2 (g) + 3 h2o