-
Notifications
You must be signed in to change notification settings - Fork 1
/
room.h
50 lines (38 loc) · 807 Bytes
/
room.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
/*
File Name : room.h
Description :
Author : Garly Nugraha & Nazwa Fitriyani Zahra
Date : 08/12/2001
*/
#ifndef room_H
#define room_H
#define JUM_BLOK 1
/* Struct Room */
typedef struct {
int code;
char name[20];
char type[15];
unsigned int total;
unsigned long int price;
}room;
/* Menu Room */
int MenuRoom();
/* Create Data Room */
void CreateRoom();
/* Count Data Room */
void CountRoom();
/* Show Data Room */
void ShowRoom();
/* Read Data Room */
void ReadRoom();
/* Update Data Room */
void UpdateRoom();
/* Check Data Room by Code */
int CheckRoomCode(room roomdata, int id);
/* Delete Data Room */
void DeleteRoom();
void AlertDeleteOneRecordRoom();
void DeleteOneRecordRoom(room roomdata, int id);
void AlertDeleteAllRoom();
void DeleteAllRoom();
#endif