Computers and Technology

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.

answer
Answers: 1

Similar questions

Do you know the correct 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, 28.11.2021 23:30