Question: Write a program that prompts the user to enter a number n . Then, it asks the user to enter a sequence of numbers ending
Write a program that prompts the user to enter a number n. Then, it asks the user to enter a sequence of numbers ending with -999. The program then displays the count of numbers in the sequence smaller than n, the count of numbers larger than n, and the count of numbers equal to n. (use a while loop)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
