kevingutierrez849 kevingutierrez849
  • 30-01-2021
  • Computers and Technology
contestada

Write a Coral program using integers userNum and x as input, and output userNum divided by x four times.

Ex: If the input is 2000 2, the output is:

1000 500 250 125

Respuesta :

joemamabruh joemamabruh
  • 30-01-2021

Answer:

second_int = "Enter the second integer: "

usernum = int(input("Enter the first integer: "))

x = int(input(second_int))

usernum = usernum // x

print(usernum, end= ' ')

usernum = usernum // x

print(usernum, end= ' ')

usernum = usernum // x

print(usernum, end= ' ')

usernum = usernum // x

print(usernum)

Explanation:

im good

Answer Link

Otras preguntas

Okay people! I need help. In geometry, on a x/y coordinate plane, I need to find the distance between the point (3,2) and the slope y = 5/6x + 7. Step by step,
what object in the sky is used to determine local time ?
obeying laws, paying taxes,defending the nation and serving on the juries is what type of citizen
Can your develop dyslexia at any age? Honestly when I was younger I didn't have a problem reading or writing but now since I'm a teen it's getting harder for me
Do viruses respond to stimuli in order to maintain homeostasis
Mo is thinking of a number . Eleven more than one third of the number -1 . Find Mo's number.
What number goes into 66 and 19 evenly?
What do you expect from a hurricane?
Write about two instances where the colonists did not submit to the British.
How did exploration change the growth of the European nations and the desire to trade.