A Fast Food Shop has menu of items being sold on point. Each item has serial number, category, and price. You are supposed to do the following with this same.By this program do the followings Define a appropriate structure to manage this information. Define functions to input & output values in one object/variable of this struct type Define an array of struct variables and input/output with the help of your won-defined functions in main. . Define pointer variable of struct type, assign the address of any single element of defined array then print the information of that object with this pointer. Define function out of the struct with following prototype to sum the prices all items enlisted in menu. double sumPrices(/struct type array with size/)
A Fast Food Shop has menu of items being sold on point. Each item has serial number, category, and price. You are supposed to do the following with this same.By this program do the followings
Define a appropriate structure to manage this information.
Define functions to input & output values in one object/variable of this struct type
Define an array of struct variables and input/output with the help of your won-defined functions in main.
. Define pointer variable of struct type, assign the address of any single element of defined array then print the information of that object with this pointer.
Define function out of the struct with following prototype to sum the prices all items enlisted in menu. double sumPrices(/struct type array with size/)
Step by step
Solved in 2 steps