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, 23.06.2019 13:00
Which of the following statements is false? a. a class can directly inherit from class object. b. if the class you're inheriting from declares instance variables as private, the inherited class can access those instance variables directly. c. a class's instance variables are normally declared private to enforce good software engineering. d. it's often much more efficient to create a class by inheriting from a similar class than to create the class by writing every line of code the new class requires.
Answers: 3
question
Computers and Technology, 23.06.2019 16:30
What is one reason why indoor air pollution has become an increasing problem.
Answers: 1
question
Computers and Technology, 23.06.2019 22:30
Apart from confidential information, what other information does nda to outline? ndas not only outline confidential information, but they also enable you to outline .
Answers: 1
question
Computers and Technology, 24.06.2019 03:30
It is not necessary to develop strategies to separate good information and bad information on the internet. true or false
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
Chemistry, 15.05.2021 01:00
question
History, 15.05.2021 01:00
question
Mathematics, 15.05.2021 01:00
Questions on the website: 13722363