Berikut ini adalah source code untuk manajemen barang jual beli yang sederhana. Nama : Christopher Wibisono NIM : 2301913822 #include <stdio.h> #include <stdlib.h> #include <windows.h> #include <string.h> int total; struct ll { int qty; char nama[50]; int price; struct ll *next; struct ll *prev; }*head = NULL, *tail = NULL, *curr; void print() { curr = head; if (curr == NULL) printf("No Data!\n"); else { int i = 1; while(curr != NULL) { printf("---------------------\n"); printf("Data %d : %s\n",i,curr->nama); printf("Quantity %d : %d\n",i,curr->qty); printf("Price %d : %d\n",i,curr->price); curr = curr->next; i++; } } } void push() { curr = (struct ll*)malloc(sizeof(struct ll)); printf("Input Name : "); scanf("%[^\n]",curr->nama); printf("Input Quantity : "); scanf("%d"