jewelscott3530 jewelscott3530
  • 07-08-2018
  • Mathematics
contestada

Write a pseudocode that prompts the user to keep read numbers until 0 entered, and find how many of those numbers are odd and how many are even

Respuesta :

Аноним Аноним
  • 07-08-2018

Start

Read number n.

When n = 0 go to End.

Compute r = n / 2,

If decimal part of r = 0 add 1 to Even-count

else add 1 to odd-count

endif

Go to Start

End

Print Even count , Odd count

Stop.

Answer Link

Otras preguntas

What can be concluded about the distance from point B to CD?
help please! im lost
Which of the following is a benefit of using a parallel circuit system? a. stability b. security c. simplicity d. speed
find the measure of each angle indicated
Halla el factor racionalizante para cada radical Por favor ayúdenme y expliquenme el procedimiento
Which identifies Napoleon’s impact on Europe? aThe invasion of Britain ended imperialism. bPortugal ceased to exist as a country. cMany Germanic territories w
Solve for x please and thank you
NEED HELP IN MATH . SERIOUS ANSWERS PLEASE . LOTS OF POINTS
Mass of 55 kg riding in a car at20m/s slams on brakes rests in.5 sec how much force from seatbelt
Tom sulked in a corner…. He knew that in her heart his aunt was on her knees to him, and he was morosely gratified by the (awareness) of it. He would hang out n