-
Notifications
You must be signed in to change notification settings - Fork 0
/
fungsiFasilitas.php
40 lines (40 loc) · 981 Bytes
/
fungsiFasilitas.php
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
<?php
function convertKamar($x) {
switch($x) {
case "kasur":
return "KASUR";
break;
case "lemari":
return "LEMARI";
break;
case "meja":
return "MEJA BELAJAR";
break;
case "rias":
return "MEJA RIAS";
break;
case "kursi":
return "KURSI";
break;
case "wifi":
return "WI-FI";
break;
}
}
function convertMandi($x) {
switch($x) {
case "dalam":
return "DALAM";
break;
case "shower":
return "SHOWER";
break;
case "duduk":
return "TOILET DUDUK";
break;
case "hangat":
return "AIR HANGAT";
break;
}
}
?>