subject

Write a loop using a sentinel value. the sentinel value will be "999" and when this number is entered, the loop will end. the user will enter a number. you will examine the number and determine if it is even or odd. if it is even, you will add one to the even counter. if it is odd, add one to the odd counter. when the loop has ended, print out a message telling how many even and odd numbers were entered.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 04:30
Eye injuries usually occur as a result of all of the following things, except: a) proper machine operation b) battery explosion c) falling or flying debris d) electric welding arc
Answers: 2
question
Computers and Technology, 22.06.2019 17:00
Which of the following is not contained on the slide show toolbar? a. next button b. slide button c. close button d. pen too
Answers: 2
question
Computers and Technology, 22.06.2019 22:20
Avariable of the data type arrays is storing 10 quantities. what is true about these quantities? a. the quantities all have different characteristics. b. the quantities all have the same characteristics. c. five quantities have the same and five have different characteristics. d. it is necessary for all quantities to be integers. e. it is necessary for all quantities to be characters.
Answers: 2
question
Computers and Technology, 24.06.2019 08:10
Where are american poets found in the dewey decimal system
Answers: 1
You know the right answer?
Write a loop using a sentinel value. the sentinel value will be "999" and when this number is entere...
Questions
question
Mathematics, 22.04.2021 18:10
question
French, 22.04.2021 18:10
question
History, 22.04.2021 18:10
Questions on the website: 13722360