Question: Write a C program to do the following. Define an array of structures to store the details of 10 items in a grocery store. The
Write a C program to do the following. Define an array of structures to store the details of 10 items in a grocery store. The details include Item Name (string), Item ID (integer), Price(float). [10 points] Prompt the user to enter the details of 10 items. [5 points] Display the details of all the items stored in the structure. [5 points] Find out the item with highest price in the store and print its details such as Item name and Item ID. [10 points]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
