COMPUTER HOTEL MANAGMENT.docx
-
Upload
anonymous-nxpawomqy -
Category
Documents
-
view
216 -
download
1
Transcript of COMPUTER HOTEL MANAGMENT.docx
-
7/25/2019 COMPUTER HOTEL MANAGMENT.docx
1/40
SUNRISE ENGLISH PRIVATE SCHOOL
ABUDHABI -UAE
HOTEL MANAGEMENT SYSTEM
NAME : DON IGNATIUS
CLASS : XII-A
EXAM NO :
SUBJECT: COMPUTER SCIENCE
YEAR : 2015-16
1
-
7/25/2019 COMPUTER HOTEL MANAGMENT.docx
2/40
STUDENT PARTICULARS
Name : Don Ignatius
Class : XII - A
Year: 2015-16
Exam No :
Scool: Sunrise Englis !ri"ateScool
!ro#ect: $otel %anagement S&stem
'eacer: %rs( )( Dee*a
2
-
7/25/2019 COMPUTER HOTEL MANAGMENT.docx
3/40
ACKNOWLEDGEMENT
I +oul, lie to ex*ress m& gratitu,e to m& teacer %rs( )(
Dee*a. as +ell as our *rinci*al Dr( 'aur %ulcan,ani +o
ga"e me an o**ortunit& to ,o tis +on,er/ul *ro#ect ( eing a
*art o/ tis *ro#ect so+casing an, ex*an,ing m& no+le,ge on
te su#ect ( I +as also ale to create an a**lication +ic can
e use, in realit& as +ell (
I +oul, also lie to tan m& *artner %oamma, uin
Si,,i3ui +itout +om tis *ro#ect +oul,n4t a"e een a
success (
I +oul, also lie to tan m& *arents /rom te core o/ m& eart
/or *ro"i,ing me +it te re3uire, resources /or te
accom*lisment o/ tis *ro#ect(
3
-
7/25/2019 COMPUTER HOTEL MANAGMENT.docx
4/40
INDEX
AIM
'e asic aim o/ tis *ro#ect are as /ollo+s :
'o mae a *rogram & using te C com*iler on te
to*ic $otel %anagement S&stem (
'o un,erstan, te ,a& to ,a& usage o/ *rogramming(
'o stu,& te "arious conce*ts o/ C(
4
S!" T#$%& P'(&N"
1( Aim 5
2( !rogram De/inition 6
( Algoritm 7
8( !rogram 10
5( Sam*le 9ut*ut
6( Conclusion
7( iliogra*& ;
-
7/25/2019 COMPUTER HOTEL MANAGMENT.docx
5/40
'o anal&
-
7/25/2019 COMPUTER HOTEL MANAGMENT.docx
6/40
nee, ( A room numer is *ro"i,e, to im ( Secon,. e can
cec-in ( ile cecing in. te user as to enter te room
numer *ro"i,e, to im an, is name ( 'ir,. te user can
mo,i/& is ,etails ( 'e user can ten a"ail te ser"ices o/S+imming *ool an, B&m ( A user can also use te +i/i /acilities
*ro"i,e, & te $otel ( @inall&. e can cec out ( ile
cecing out. is *ersonal ,etails are ,elete, an, is total ill is
*rinte, (
ALGORITHM Start
Declare a class $otel +it ,ata memers in introomno. car
name50. car a,,ress50. long telno. car roomt&*e50 an, /loat
rent (
In te *ulic section. ,e/ine a /unction get,ataFG(
Hea, te ,etails o/ te user(
De/ine anoter /unction so+,ataFG(
Dis*la& te ,etails o/ te customer(
Declare /unctions ooingFG. cecinFG. cecoutFG. g&mFG an,
s+immingFG an, +i/iFG in *ulic section(
6
-
7/25/2019 COMPUTER HOTEL MANAGMENT.docx
7/40
In te *ulic section. ,e/ine anoter /unctions retroomFG o/ return
t&*e int. retnameFG o/ return t&*e car. reta,,ressFG o/ return t&*e
car an, rettelFG o/ return t&*e long returning te room numer.
name. a,,ress. tele*one numer to te calling *oint ( Declare $otel *
De/ine a /unction ooingFG +it te return t&*e "oi,
9*en a /ile in ios::out mo,e
sing o#ect *. call te /unction get,ataFG(
rite te ,etails o/ te customer into te /ile
Close te /ile
De/ine te /unction cecinFG +it te return t&*e "oi,
9*en a /ile in ios::in mo,e
Clear te screen
Enter te room numer an, cec into te room
Declare a /unction e,itFG +it te return t&*e "oi,
9*en a /ile in ios::inJios::out mo,e
9*en a tem*orar& /ile in ios::inJios::out mo,e
Enter te room numer an, mo,i/& te ,etails o/ te user (
!rint te ne+ ,etails o/ te user Declare a /unction ,is*la&FG+it te return t&*e "oi,
Dis*la&FG as an argument roomno o/ t&*e int
Clear te screen
9*en te /ile in ios::in mo,e
sing te /unction so+,ataFG. ,is*la& te ,etails o/ te user
Declare a /unction ,eleteFG +it te return t&*e "oi,
DeleteFG as an argument roomno o/ t&*e int 9*en a /ile in ios::in mo,e
9*en a tem*orar& /ile in ios::out mo,e
Delete te recor, o/ te user
Declare a /unction cecoutFG o/ return t&*e "oi,
7
-
7/25/2019 COMPUTER HOTEL MANAGMENT.docx
8/40
9*en a /ile in ios::in mo,e
Enter &our room numer an, cec out
De/ine te /unction g&mFG o/ return t&*e "oi,
9*en te /ile in ios::in mo,e Enter te room numer ( I/ room numer gi"en & te user is
correct . a message is ,is*la&e, tat te user can a"ail te /acilit& o/
g&m (
De/ine a /unction s+immingFG o/ return t&*e "oi,
9*en te /ile in ios::in mo,e
Enter te room numer ( I/ te room numer enter, & te user is
correct( 'en a message is ,is*la&e, tat te user can a"ail te
ser"ice o/ s+imming *ool(
De/ine te /unction +i/iFG +it te return t&*e "oi,
9*en a /ile in ios::in mo,e
Clear te screen
Enter te room numer an, name
A"ail te +i/i /acilities ( A message is *rinte, tat te user is
connecte, to te otel +i/i = HADISS9NI@I>(
Enter "oi, main /unction As te user to select is o*tions
1( oo a room
2( Cec-In
( E,it te *ro/ile o/ te customer
8( B&m
5( S+imming *ool
6( A"ail i/i Ser"ices 7(Cec-9ut K Exit
Enter te coice an, use te "arious o*tions
Sto*
8
-
7/25/2019 COMPUTER HOTEL MANAGMENT.docx
9/40
PROGRAM
//computer project
//HOTEL MANAGMENT SYSTEM
//b !ub"# $#% &o#
'"#c(u%e)*+tre$m,-.
'"#c(u%e)co#"o,-.
'"#c(u%e)proce++,-.
'"#c(u%e)+t%"o,-.
'"#c(u%e)+t%("b,-.
-
7/25/2019 COMPUTER HOTEL MANAGMENT.docx
10/40
'"#c(u%e)+tr"#0,-.
c($++ Hote( pr"$te
"#t room#o
c-$r #$me5
c-$r $%%re++5
(o#0 te(#o
c-$r roomtpe5
9o$t re#t
pub("c
o"% 0et%$t$:;
cout)) YO?> NAME A&&>ESS TELE@HONEN?ME>
-
7/25/2019 COMPUTER HOTEL MANAGMENT.docx
11/40
o"% +-oC%$t$:;
cout))
-
7/25/2019 COMPUTER HOTEL MANAGMENT.docx
12/40
c-$rF ret#$me:;
retur# #$me
B
c-$rF ret$%%re++:;
retur# $%%re++
B
(o#0 rette(:;
retur# te(#o
B
B
Hote( -p
o"% Hote(booD"#0:;
r$#%om"e:;
*+tre$m (e1
(e1,ope#:
-
7/25/2019 COMPUTER HOTEL MANAGMENT.docx
13/40
cout))
-
7/25/2019 COMPUTER HOTEL MANAGMENT.docx
14/40
c$+e 1 +trcp:-p,roomtpeOYAL S?KTE
-
7/25/2019 COMPUTER HOTEL MANAGMENT.docx
15/40
%e*$u(t cout))&
A P>ONG O@TKON ,ME& OOM N?ME> KS
-
7/25/2019 COMPUTER HOTEL MANAGMENT.docx
16/40
cout))
-
7/25/2019 COMPUTER HOTEL MANAGMENT.docx
17/40
cout)) YO?> >OOM N?ME> NAME
-
7/25/2019 COMPUTER HOTEL MANAGMENT.docx
18/40
B
cout)) >OOM N?ME>
-
7/25/2019 COMPUTER HOTEL MANAGMENT.docx
19/40
"*:-p,retroom:;r;
-p,0et%$t$:;
t,Cr"te::c-$rF;-p+"eo*:-p;; 9$01
B
B
"* :9$0;
cout))& A
P>ONG O@TKON ,
-
7/25/2019 COMPUTER HOTEL MANAGMENT.docx
20/40
remoe:
-
7/25/2019 COMPUTER HOTEL MANAGMENT.docx
21/40
B
o"% remoe:"#t room#o; *+tre$m (e5t
(e5,ope#:
-
7/25/2019 COMPUTER HOTEL MANAGMENT.docx
22/40
B
o"% Hote( c-ecDout:;
c(r+cr:;
"#t r%$+
c-$r #$me+5
9o$t tot$(
"#t 9$0
*+tre$m (e6
(e6,ope#: >OOM N?ME>
-
7/25/2019 COMPUTER HOTEL MANAGMENT.docx
23/40
cout)) YO?> NAME OU
&AYS YO? HAE STAYE&
-
7/25/2019 COMPUTER HOTEL MANAGMENT.docx
24/40
(e6,c(o+e:;
cout))
-
7/25/2019 COMPUTER HOTEL MANAGMENT.docx
25/40
"*:-p,retroom:;r;
cout))
-
7/25/2019 COMPUTER HOTEL MANAGMENT.docx
26/40
"#t r
"#t 9$0
*+tre$m (e
(e,ope#:OOM N?ME>
-
7/25/2019 COMPUTER HOTEL MANAGMENT.docx
27/40
"*:9$0;
cout))& A P>ONG
O@TKON ,
-
7/25/2019 COMPUTER HOTEL MANAGMENT.docx
28/40
cout)) YO?> >OOM N?ME> NAME A&KSSONPKUKW
-
7/25/2019 COMPUTER HOTEL MANAGMENT.docx
29/40
B
cout))
-
7/25/2019 COMPUTER HOTEL MANAGMENT.docx
30/40
cout)) @>OUKLE
-
7/25/2019 COMPUTER HOTEL MANAGMENT.docx
31/40
c$+e 4 cu+tomer,0m:;
0oto MEN?
c$+e 5 cu+tomer,+C"mm"#0:;
0oto MEN?
c$+e 6 cu+tomer,C":;
0oto MEN?
c$+e 7 cu+tomer,c-ecDout:;
bre$D
%e*$u(t cout))& A P>ONG O@TKON ,
-
7/25/2019 COMPUTER HOTEL MANAGMENT.docx
32/40
cout)) KSKTKNG >A&KSSON
L? HOTEL , E KNUO KSKT O?> PESKTE
CCC,r$%%"+o#b(u,com
-
7/25/2019 COMPUTER HOTEL MANAGMENT.docx
33/40
33
-
7/25/2019 COMPUTER HOTEL MANAGMENT.docx
34/40
34
-
7/25/2019 COMPUTER HOTEL MANAGMENT.docx
35/40
35
-
7/25/2019 COMPUTER HOTEL MANAGMENT.docx
36/40
CONCLUSION
'e *rogram is /oun, to e running success/ull& a/ter correction
o/ all te errors . +ic +ere /oun, +en te *rogram +as eing
execute, (
'e maing o/ tis *rogram rougt me immense *leasure (
%aing tis *rogram. +ic as a uni"ersal a**eal. +as
onourale an, +as a "er& goo, callenge /or me ( 'e
o**ortunit& to ,o suc a *rogram +as "er& goo, an, I am 3uite
a**& tat I a"e success/ull& com*lete, te *ro#ect ( it te
el* o/ tis *ro#ect . I un,erstoo, o+ to mae a user-/rien,l&
*rogram . +ic in turn el*e, me to un,erstan, te "arious
*rogramming meto,ologies (
BIBLIOGRAPHY
36
-
7/25/2019 COMPUTER HOTEL MANAGMENT.docx
37/40
1( Com*uter Science C & Sumita Arora
37
-
7/25/2019 COMPUTER HOTEL MANAGMENT.docx
38/40
38
-
7/25/2019 COMPUTER HOTEL MANAGMENT.docx
39/40
3
-
7/25/2019 COMPUTER HOTEL MANAGMENT.docx
40/40