Question: Once the configuration step is over, the program then moves to a sample collection phase in which the user either enters a new set of
Once the configuration step is over, the program then moves to a sample collection phase in which the
user either enters a new set of samples or an exit code.
If a value is a nonnegative integer, it is a threat level score for the current set.
If the value is then the sample input is complete and your code should evaluate this
sample set for a threat, print the result, and then begin to collect a new sample set.
If the value is any other negative value then the program immediately quits by calling
sysexit and any samples that are part of an incomplete set are discarded.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
