QUESTION

# (O) INFO 123 4 MLB Form_ Winte INFO 1234 MLB Form_ Winte|\ \ Course Hero  INFO - 7156 Project 1.20 X| + V X gt; | file : / / / C : / Users / douha...

project , due date on March4 . How to Reports correct number of values (skipping zeros, negatives)?

and Reports failed input (non-numbers, overflow, infinity)?

• Attachment 1
• Attachment 2
• Attachment 3
• Attachment 4
(O) INFO 123 4 MLB Form_ Winte INFO 1234 MLB Form_ Winte|\\ Course Hero INFO - 7156 Project 1.20 X|+VX&gt;| file : / / / C : / Users / douha / Desktop / INFO - 7156% 20 P ro ject % 201 . 2019 . 02% 20 ( V1 . 1. 0 ) . pdf. . .7of 6| 0+&lt;' Fit to page\[A] Page view\ A &quot; Read aloud ~ Add notesED80Project DescriptionWrite a C console application that compiles a set of statistics on a list of numbers ; then performs a Newcomb ,Benford ( abbr . NB ) analysis of the data set .*The data set is a list of real numbers ( can be very large integers ) entered at the console ( stain ) . Any data value*that is negative or zero is skipped ( not stored used ) . Your program must handle any length of list . The list willbe piped in from the command line and terminated with end- of - stream ( &quot; Z ) . The statistics to perform on thedata set are :&quot;range ( minimum value .. maximum value ] :arithmetic mean ;\statistical median value ;variance ( of a discrete random variable ) ;standard deviation ( of a finite population ) ;mode ( including multi - modal lists ) .frequency tableNext perform a Newcomb - Benford ( NB ) analysis of the data set . Display a table containing the NB expected ,the digit id , the frequency percentages , and a bar graph of the frequency percentage . Report the Newcomb -Benford specialized variance and standard deviation . Finally , indicate whether the analysis has determined avery strong , strong , moderate , weak , or no NB relationship at all .*FormulaeThe specific formulae we are using are listed below . Note that we are using population statistics and not sample*statistics ( they are different ! )RangeThe lowest value in the data set , and the largest value in the data set .Arithmetic meanThe sum of all the values divided by the number of values .*Statistical medianThe middle value of a sorted data set of odd length, or the arithmetic mean ofthe two closest values to the middle of a sorted data set of even length .Y = sorted( ` , ... *'n'if N is odd* = \$* ( IN + 1 ) / 21= ( YN /2 + YL+N/ 2 ) if NisevenThe mean of the squared differences of each sample from the arithmetic mean .