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.

COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
1st Edition
ISBN:9780357392676
Author:FREUND, Steven
Publisher:FREUND, Steven
Chapter11: User Interfaces, Visual Basic For Applications (vba), And Collaboration Features
Section: Chapter Questions
Problem 7EYK
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
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:
9780357392676
Author:
FREUND, Steven
Publisher:
CENGAGE L
New Perspectives on HTML5, CSS3, and JavaScript
New Perspectives on HTML5, CSS3, and JavaScript
Computer Science
ISBN:
9781305503922
Author:
Patrick M. Carey
Publisher:
Cengage Learning
Microsoft Windows 10 Comprehensive 2019
Microsoft Windows 10 Comprehensive 2019
Computer Science
ISBN:
9780357392607
Author:
FREUND
Publisher:
Cengage
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
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning