This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <string.h> | |
#define MAX 100 | |
#define MAX_NAME_LENGTH 100 | |
char queue[MAX][MAX_NAME_LENGTH]; | |
int front = -1, rear = -1; | |
// Fungsi untuk menambahkan pelanggan ke antrian |