Answered step by step
Verified Expert Solution
Question
1 Approved Answer
A company is conducting street surveys regarding customer satisfaction level about some specific product. Since the number of individuals contributing to the survey is
A company is conducting street surveys regarding customer satisfaction level about some specific product. Since the number of individuals contributing to the survey is unpredictable, the survey is conducted through a program written in C-Language using linked list structures that contain a character string and an integer data part to indicate the product name and the customer satisfaction rate (which varies in range of 0 to 10), as well as a pointer part to the next structure of the same type for the next possible contributor to the survey. Write a complete C program to implement the above-mentioned task. The program must ask the user whether to add a new entry (product name and satisfaction rate) or to stop and also must print a warning message and ask for a new entry if the satisfaction rate entered is less than 0 or greater than 10.
Step by Step Solution
★★★★★
3.45 Rating (164 Votes )
There are 3 Steps involved in it
Step: 1
Heres a simple C program that implements the described task using a linked list structure c include include include Define the structure for each surv...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started