Hari and Priya are married couples. Priya prepare a list of N items to be purchased in the grocery store every month. The list of N items is handed over to Hari at the end of every month. The value of N varies every month based on the house hold requirements. Write a program to help Priya prepare the list which vary every month which contains item_name, quantity ,price of each item.
Requirements:
1.Create an ADT of type item_name,quantity,price .
2.Write a separate function to create the new dynamic array
3.Write a function to read and display N items, amount,quantity prepared by Priya with the following signature
void Read(Purchase list[],int Lsize)
void display(purchase list[],int Lsize)
4.Write a function to find the sum of the price of all the items which are in even position and print result in
the same function
Answers
Answered by
0
Answer:
#Dont know............................
Similar questions
India Languages,
3 months ago
Art,
3 months ago
English,
3 months ago
Math,
6 months ago
Math,
6 months ago
Physics,
11 months ago
Social Sciences,
11 months ago