Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

2 . 1 Implement a main menu that displays options: 1 . Enter Feedback, 2 . Summarize Feedback, 3 . Quit. Utilize a switch statement

2.1 Implement a main menu that displays options: 1. Enter Feedback, 2. Summarize Feedback, 3. Quit. Utilize a switch statement for navigation based on the user's choice.
(10 Marks)
2.2 For the Enter Feedback option, prompt users to rate their service experience on a scale of 1-5 and provide a short comment.
(7 Marks)
2.3 Include error handling for the rating input to ensure it's within the specified range and discuss in comments how errors are managed.
(5 Marks)
2.4 Under Summarize ' Feedback ', calculate and display the average rating and the number of feedback entries.
(8 Marks)
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Fundamentals Of Database System

Authors: Elmasri Ramez And Navathe Shamkant

7th Edition

978-9332582705

More Books

Students also viewed these Databases questions