All of data (id, password, medicine) are stored in .txt file
There are 2 type of user in this program:
- Host : User need to input the id and password that stored in Daftar_host.txt to login as a Host. This user can check list of medicine that available, update the medicine list, change his/her account password, and make a new account for the new host.
- Consumer = User doesn't need to input id or password to login as Consumer. This user can check list of medicine that available, check the purchase that made by him/her, delete his/her first purchased item (using dequeue concept in queue), and print the bill.
All of the action in program using Linked list, stack, and queue concept. No array used in this program.