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

Rapidly increasing health costs have been a major political concern since at least 1992. suppose the government sets the maximum price for a normal doctor visit
a muscle that doesn't need to be exercised is your heart
At 600.0 K the rate constant is 6.1× 10–8 s–1. What is the value of the rate constant at 800.0 K?
What did ancient Greeks inherit from Homer and then pass on to later civilizations? A.democratic principles B.scientific experimentation C.monotheis
Antes, la familia álvarez (cenar) a las ocho de la noche. de ni?a, yo (cantar) en el coro de ni?os de san juan. cuando vivían en la costa, ustedes (nadar) por l
Solve: 3x-15/2=4x ................
Which of the following describes the mechanical advantage of a machine?
Why do you think Germany wanted to sign a nonaggression pact with the Soviet Union?
Beck's cognitive therapy is particularly effective in the treatment of ________. (1 point)
True or false the texas legislature is classified as highly professional, the highest level of institutionalization.