QUESTION 4   UNi-Library is conducting a survey to rate the quality of their services in order to improve their services. In the survey, 30 students were asked to rate the quality of the service in the library on a scale of 1 to 5 (1 indicating very bad and 5 indicating excellent). You have to store the 30 responses of the students in an array named responses[ ]. Then, you have to count the frequency of each scale and store it in an array named frequency[ ]. Use the appropriate looping structure to enter the responses and to count the frequency. You are also required to display the percentage of the frequency of each scale. Display the scale, frequency and its percentage as shown below. The program also allows the user to repeat this process as often as the user wishes.

Microsoft Visual C#
7th Edition
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Joyce, Farrell.
Chapter3: Using Gui Objects And The Visual Studio Ide
Section: Chapter Questions
Problem 15RQ: _____________ are controls through which a user can enter input data in a GUI application. a. Labels...
icon
Related questions
Question

QUESTION 4

 

UNi-Library is conducting a survey to rate the quality of their services in order to improve their services. In the survey, 30 students were asked to rate the quality of the service in the library on a scale of 1 to 5 (1 indicating very bad and 5 indicating excellent). You have to store the 30 responses of the students in an array named responses[ ]. Then, you have to count the frequency of each scale and store it in an array named frequency[ ]. Use the appropriate looping structure to enter the responses and to count the frequency. You are also required to display the percentage of the frequency of each scale. Display the scale, frequency and its percentage as shown below.

The program also allows the user to repeat this process as often as the user wishes.

 

 

C:\Users\Kamalia\Documents\Visual Studio 201O\Pr.
Response
1
Frequency
8
6
6
3
Percentage
23.33%
26.67%
20.00%
20.00%
10.00%
4
5
Press any key to continue
Transcribed Image Text:C:\Users\Kamalia\Documents\Visual Studio 201O\Pr. Response 1 Frequency 8 6 6 3 Percentage 23.33% 26.67% 20.00% 20.00% 10.00% 4 5 Press any key to continue
Expert Solution
steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Knowledge Booster
Array
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
Np Ms Office 365/Excel 2016 I Ntermed
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781305480537
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning