Question: Please use C language 2. Program 7.2 permits only 20 responses to be entered. Modify that program so that any number of responses can be

 Please use C language 2. Program 7.2 permits only 20 responses

to be entered. Modify that program so that any number of responses

Please use C language

2. Program 7.2 permits only 20 responses to be entered. Modify that program so that any number of responses can be entered. So that the user does not have to count the number of responses in the list, set up the program so that the value 999 can be keyed in by the user to indicate that the last response has been entered. (Hint: You can use the break statement here if you want to exit your loop.) // Demonstrating a Array of Counters #include int main (void) int ratingCounters[11], i, response; for (i = 1; i 10 ) printf ("Bad response: si ", response); else ++ratingCounters[response); printf(" RatingNumber of Responses "); printf("------ ------------------- "); for (i = 1; i

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!