write a program to help a local restaurent automate its breakfast billing system. The program should do the following:
a)show the different items offered by the restaurent
b)allow the customer to select more than one item from the menu.
c)calculate and print the bill. Items:
Plain Egg 1.45
Bacon and Egg 2.45
Muffin .99
French Toast 1.99
Fruit Basket 2.49
Cereal .69
Coffee .5
Tea .75
I've decided to use a struct to store the name and price, and an array of structs to represent every item. Problem is i dont know how to go about splitting the input read from the file into the name and price seperatly. Can anyone help?
**Please dont just give me code, idealy i wouldnt like any code at all. I just need to know how i would go about assigning each struct element its proper information.