Question: I am writing this in C. The two command window, the top one is mine, and i am trying to make my output to be

I am writing this in C.

The two command window, the top one is mine, and i am trying to make my output to be the same as the bottom command window. just the bar chart.

I cant get my to work, it keep sorting out or more than needed. I got to devided the numbers in to group A[] is max and B[] is min. How do i count how many numbers belong to each group, and how do i make the program to print out "x" per each number. Thank you for your timeI am writing this in C. The two command window, the top

glueumd.edu PuTTY File Edit Search View Encoding Language Settings Tools Macro Run Plugins Window? p2test.c: In function 'main Les t. c: 19:4: wa rning: assignment makes pointer rrom integer without a cast [ abled by defaultl p2test.c:128:3: warning: assignment malces integer from pointer without a cast [e nabled by default] y:enee140/project./project.2: a.out. in.txt. out.txt. 6 65-53 ( 0)xx 40-52 0)xx 7-39 0)xx 14-26 0)xx /baz char//category 1 highaat group nt ca printti"x these are the numbers I did devided the array into 5 groups and it works great. | 1-13 0):xxxxxx inimum.: 4 Maximum: 65 Average: 25.714 The most frequent value is 10 and it appears times Standard Deviation: 18.718 rhe first multiplc of 6 is 36. It is the 7st number 5th percentil 10.000 Median percentile: 22.500 5th percential: 35.000 y:/enee140/project/project2: 1 pzintt( //category 2/second highest group int h int hoa7 10 10 10 10 36 20 25 30 35 45 printti" print (" ") : /Fearegoxy /chird h1ghor roup glue.umd.edu PulTY printf("v-d-k (k*d) : ",2,21,2,A1,2,aou) ; 3-65 2): xx 40-52 1): x 7-39 3) : xxx 14-26 2): xx printf" 4-13 6):xxxxx printn /category 4//fourth higheat group Maximun: 65 Averag 25.714 Standard Deviation: 1.718 The most frequent value is 10 and it appears 4 times Tho first multiple of 6 is 36. It is the 7st numbor. 25th percentile 10.000 intI" dian: 22.500 75th percentile: 36.000 printfI Icategoy iloestroup nt 1: printf{%"): glueumd.edu PuTTY File Edit Search View Encoding Language Settings Tools Macro Run Plugins Window? p2test.c: In function 'main Les t. c: 19:4: wa rning: assignment makes pointer rrom integer without a cast [ abled by defaultl p2test.c:128:3: warning: assignment malces integer from pointer without a cast [e nabled by default] y:enee140/project./project.2: a.out. in.txt. out.txt. 6 65-53 ( 0)xx 40-52 0)xx 7-39 0)xx 14-26 0)xx /baz char//category 1 highaat group nt ca printti"x these are the numbers I did devided the array into 5 groups and it works great. | 1-13 0):xxxxxx inimum.: 4 Maximum: 65 Average: 25.714 The most frequent value is 10 and it appears times Standard Deviation: 18.718 rhe first multiplc of 6 is 36. It is the 7st number 5th percentil 10.000 Median percentile: 22.500 5th percential: 35.000 y:/enee140/project/project2: 1 pzintt( //category 2/second highest group int h int hoa7 10 10 10 10 36 20 25 30 35 45 printti" print (" ") : /Fearegoxy /chird h1ghor roup glue.umd.edu PulTY printf("v-d-k (k*d) : ",2,21,2,A1,2,aou) ; 3-65 2): xx 40-52 1): x 7-39 3) : xxx 14-26 2): xx printf" 4-13 6):xxxxx printn /category 4//fourth higheat group Maximun: 65 Averag 25.714 Standard Deviation: 1.718 The most frequent value is 10 and it appears 4 times Tho first multiple of 6 is 36. It is the 7st numbor. 25th percentile 10.000 intI" dian: 22.500 75th percentile: 36.000 printfI Icategoy iloestroup nt 1: printf{%")

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!