-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathHotel.c
More file actions
37 lines (22 loc) · 730 Bytes
/
Hotel.c
File metadata and controls
37 lines (22 loc) · 730 Bytes
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
#include <stdio.h>
#include <stdlib.h>
#include "Hotel.h"
#include <string.h>
Hotel criar_hotel(){
Hotel premiumResort;
premiumResort.presidencial = 5;
premiumResort.valorPresidencial = 1200;
premiumResort.luxoSimples = 5;
premiumResort.valorLuxoSimples = 520;
premiumResort.luxoDuplo = 15;
premiumResort.valorLuxoDuplo = 570;
premiumResort.luxoTriplo = 20;
premiumResort.valorLuxoTriplo = 620;
premiumResort.executivoSimples = 5;
premiumResort.valorExecutivoSimples = 360;
premiumResort.executivoDuplo = 15;
premiumResort.valorExecutivoDuplo = 385;
premiumResort.executivoTriplo = 20;
premiumResort.valorExecutivoTriplo = 440;
return premiumResort;
}