Question: Please write in C + + Programming: Write / define a structure data type and name it as drink. It has two data type which
Please write in C Programming:
Writedefine a structure data type and name it as "drink". It has two data type which is i to
store the name of drink ie LIPTON, ii to store the price per unit of the drink
Writedefine another structure data type and name it as "food". It has two data type
which is i to store the name of food ie nasi lemak, ii to store the quantity of the food
Writedefine a parent structure data type and name it as "restaurant". It consists of drink
and food structure data type.
Declare a structure data type by calling the restaurant structure data type.
Modify a program to ask users to input two drinks and two foods for two restaurants.
Display your Final Output.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
