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

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 23:30, Molly05
In my email i got a message it says a quick message and in message details on who its from its says nicole and under nicole is 50e0bf08e5b671@ualwgypg91wa5wl. uzo9kbud3qjwddygd5.vng -
Answers: 1
image
Computers and Technology, 23.06.2019 19:30, wilkinsonei4069
Anul 2017 tocmai s-a încheiat, suntem trişti deoarece era număr prim, însă avem şi o veste bună, anul 2018 este produs de două numere prime, 2 şi 1009. dorel, un adevărat colecţionar de numere prime, şi-a pus întrebarea: “câte numere dintr-un interval [a, b] se pot scrie ca produs de două numere prime? “.
Answers: 1
image
Computers and Technology, 23.06.2019 21:40, jeovontamarley
language consists of basic components, and they are called a. 3; mental images, concepts, and speech b. 2; language acquisition and linguistic relativity c. 3; heuristics, algorithms, and analogies d. 4; phonemes, morphemes, syntax, and semantics e. 2; words and grammar
Answers: 3
image
Computers and Technology, 23.06.2019 23:30, econsta3
Perform an online search about the booting process of a computer and list all the steps
Answers: 2
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 in other subjects:

Konu
Mathematics, 23.05.2021 22:10
Konu
English, 23.05.2021 22:10
Konu
English, 23.05.2021 22:10