Question: Write a complete C + + program for a pharmacy. 1 - The program should store medicine ID and medicine name, number of units available
Write a complete C program for a pharmacy.
The program should store medicine ID and medicine name, number of units available from each medicine, and unit price in a file.
The program should have a function that gets medicine ID medicine name, number of units, and the unit price for all medicine.
The program should have a function that displays the number of available units for a given item.
The program should have a function that displays the most item sold.
The program should have a function that displays the total income for all items sold.
The program should have a function that processes any purchase order and update the file.
The user should be able to select the suitable function to be executed when the program starts.
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
