Question: 4.17 P04-03: Inputting and Counting Valid Data NOTE: There are two due dates for the assignment to allow for late submissions. The earliest due date

 4.17 P04-03: Inputting and Counting Valid Data NOTE: There are twodue dates for the assignment to allow for late submissions. The earliestdue date on all Projects in these Zybooks is the actual due

4.17 P04-03: Inputting and Counting Valid Data NOTE: There are two due dates for the assignment to allow for late submissions. The earliest due date on all Projects in these Zybooks is the actual due date (see syllabus if you ever have any doubts). The later due date on all Projects is for accepting late submissions (submissions submitted less than or equal to 24 hours after the actual due date) The goal is to write a complete C++ program to input 0 or more integer values in the range-100. 212, inclusive, until the sentinel value -999 is encountered. As you input the values, count the # of valid values-ie. the values that fall within the range-100 .. 212, inclusive. After the sentinel value is input, the program outputs the # of valid input values For example, suppose the input is the following sequence of integers: 500 212 -100 -200 -1000 100 982 -32 215 -999 The input sequence contained exactly 5 valid values: 212,-100, 0,100, and-32. So the output would be # of valid inputs: 5 Here's another input sequence, which is empty because it contains only the sentinel value -999 In this case the output would be

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!