Question: Create a C program that can describe a restaurant. It should have members that include the name, address, average cost, and type of food. Suppose

Create a C program that can describe a restaurant. It should have members that include the name, address, average cost, and type of food. Suppose an array of structures representing restaurants has been created (include a few restaurants for each food type). Write a function that asks the user to input a food type and prints out all restaurants' names of a given food type in order of cost, least expensive first. (food types: American, Chinese, Italian, Mexican). Be sure to include the input/result.

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!