MINIMARKET
Source Code Minimarket #include<stdio.h> #include<string.h> #include<stdlib.h> int choice; int flag = 0; struct MiniMarket{ char name[2000]; int jumlah; long long int harga; struct MiniMarket *next, *prev; }*head = NULL,*tail = NULL,*curr = NULL; void pushdepan(char name[],int jumlah,long long int harga){ curr = (MiniMarket*) malloc(sizeof(MiniMarket)); strcpy(curr->name,name); curr->jumlah = jumlah; curr->harga = harga; if(head==NULL){ head = tail = curr; }else{ curr->next = head; head->prev = curr; head = curr; } tail->next = head->prev = NULL; } void pushbelakang(char name[], int quantity, long long int harga){ curr = (MiniMarket*) malloc(sizeof(MiniMarket)); strcpy(curr->name,name); curr->jumlah = jumlah; curr->harga = harga; if(head == NULL){ head = tail = NULL; }else{ tail->next = curr; curr->prev = tail...