Relax Solutions is an IT solution provider company. It has hired you as a Software Engineer. Your job is to write code, but at the same it should be of High Quality. Your Team Lead has asked you to write a code for daily sale of medical store. The code should be of High Quality.
You are required to
a. Write correct code in c++ for entering the daily sale of a medical store. Note that the whenever a medicine is sold, it is immediately entered in system. For each medicine following fields must be stored: a. MedicineID b. Medicine Name c. Quantity sold d. Total price (should automatically be calculated)
Note: you will initially have all medicines stored in database (MedicineID, Medicine Name and Unit Price) so that you may automatically calculate the cost. You can manually enter the master information (MedicineID, Medicine Name and Unit Price) about each medicine, no need to provide separate interface.
b. Display a report of daily sale. This report will show complete record of sales of a particular day (record of all medicine sold on that day) along with the total sale in Rupees.
c. Make use of Hungarian Notation for coding purpose
d. Make use of Comments in the Code where required necessary.
TIPS: you can use filling for storing the basic information