In Partial Fulfillment of the
Requirements for the Subject
Java Programming (Part 1)
GRANDE RESORT
Submitted by:
Honeylyn Diares
Paul Kenneth DeBorja
Athena Delas Alas
John Racel Tuliao
Ailyn Mae Corpuz
March 2020
Input Variables:
Variable Name Description Data Type
Fill-up Date Filling up date of customer String
Fill-up Time Filling up time of customer String
Reserved Date Reserved Date of customer String
Name Name of customer String
Email Email address of customer String
Mobile Number Mobile no. of custome String
Address Where the customer lives String
Choose Shift Desired customer shift, either char
morning or night
[Link] Adult Total no. of adult int
[Link] Children Total no. of children int
[Link] Days No. of staying days double
Cash The payment of customer double
Process Variables:
Variable Name Description Data Type
AF/ Adult Fee Total fee of adult entrance double
CF/ Children Total fee of children entrance double
Fee
NC/No. of Total no. of children Int
Children
NA/No. of Adult Total no. of adult Int
TEF/Total The combined entrance fee of double
Entrance Fee adult and children
CP/Cottage The price of Cottage chosen double
Price
D/Days No. of staying days double
GT/ Grand Summation of total entrance double
Total fee and cottage price times
the no. of days
FB/Final Bill The final payment that the double
customer will going to pay.
DC/Discount Can only gain if the grand total double
is greater than or equal to
PHP 1500.00
CS/Cash The payment of customer double
CH/Change The difference of payment and double
final bill of the customer
Output Variables:
Variable Name Description Data Type
Fill-up Date Filling up date of customer String
Fill-up Time Filling up time of customer String
Reserved Date Reserved Date of customer String
Name Name of customer String
Email Email address of customer String
Mobile No. Mobile no. of customer String
Address Where the customer lives String
Choose Shift Desired customer shift, either char
morning or night
Total Entrance The combined entrance fee of double
Fee adult and children
Choose Desired cottage of the char
Cottage customer
Cottage Price The price of Cottage chosen double
Grand Total Summation of total entrance double
fee and cottage price times
the no. of days
Discount Can only gain if the grand total double
is greater than or equal to
PHP 1500.00
Final Bill The final payment that the double
customer will going to pay.
Change The difference of payment and double
final bill of the customer
Insert another row on table?
1. Right click on the last row
2. Select insert
3. Choose insert below
Delete row?
1. Highlight the row you want to delete
2. Delete Cells
3. Delete entire row
Sample Output:
Paste at least 4 screen shots.
With Simple description/explanation below
Source Codes:
import [Link];
public class Main {
public static void main(String[] args) {
Scanner x = new Scanner ([Link]);
String RD,RT,VD,N,E,MN,A;
char S,M,C,W,X,Y,Z,i, ans;
int NA,NC;
double AF,CF,TEF=0,PRICE=0,CP,D,GT,DC,FB=0,CS,CH;
try{
do{
[Link]("WELCOME TO RESORT GRANDE");
[Link]("--------Reservation Details------------");
[Link]("Fill-up Date : ");
RD = [Link]();
[Link]("Fill-up Time :");
RT = [Link]();
[Link]("Reserved Date : ");
VD = [Link]();
[Link]("-----------Customer's Information-----------");
[Link]("Name : ");
N = [Link]();
[Link]("Email : ");
E = [Link]();
[Link]("Mobile Number : ");
MN = [Link]();
[Link]("Address : ");
A = [Link]();
[Link]("-------------------------------------");
[Link]("Resort Shift ");
[Link]("[M] - Morning Shift");
[Link]("[N] - Night Shift");
[Link]("---------------------------------------");
[Link]("Choose Shift : ");
S = [Link]().charAt(0);
switch (M)
{//OPENING OF switch
case 1:
[Link]("----------Entrance Fee-------- ");
break;
case 2:
[Link]("[Link] Adult : ");
NA = [Link]();
break;
case 3:
[Link]("[Link] Children : ");
NC = [Link]();
break;
AF = NA * 200;
CF = NC * 100;
TEF = AF + CF;
case 4:
[Link]("Total Entrance :"+TEF);
break;
}// CLOSE switch MORNING
[Link]("----------Entrance Fee-------- ");
switch(N)
{//opening of switch night
case 1:
[Link]("[Link] Adult : ");
NA = [Link]();
break;
case 2:
[Link]("[Link] Children : ");
NC = [Link]();
break;
AF = NA * 250;
CF = NC * 150;
TEF = AF + CF;
case 3:
[Link]("Total Entrance :"+TEF);
break;
default :
[Link]("Shift not in list");
}//closing of switch nghit
[Link]("----------Choose Cottage--------- ");
[Link]("[W] - Umbrella ");
[Link]("[X] - Bahay Kubo (Small) ");
[Link]("[Y] - Bahay Kubo (Big) ");
[Link]("[Z] - Private Room ");
[Link]("Choose of Cottage : ");
C = [Link]().charAt(0);
switch(C)
{ //opening of switch W
case 1:
PRICE = 350.00;
break;
case 2:
PRICE = 500.00;
break;
case 3:
PRICE = 650.00;
break;
case 4:
PRICE = 800.00;
break;
}//closing of s
[Link]("Cottage not in list ");
CP = PRICE;
[Link]("Cottage Price :"+ CP);
[Link]("[Link] Staying Days : ");
D = [Link]();
GT = ( TEF + CP) *D;
[Link]("GRAND TOTAL :"+ GT);
[Link]("----- BILLING INFORMATION ----- ");
switch(GT >= 1500)
{//opening of switch
case 1:
[Link]("WITH DISCOUNT: YES");
break;
case 2:
DC = GT * .10;
[Link]("DISCOUNT: " + DC);
break;
case 3:
FB = GT - DC;
[Link]("FINAL BILL: " + FB);
break;
case 4:
[Link]("CASH: ");
CS = [Link]();
break;
CH = CS - FB;
case 5:
[Link]("CHANGE: " + CH);
break;
default :
[Link]("'experience the grande moment, please come again.'");
[Link]("THANK YOU!");
}//closing of switch
{//opening of none
[Link]("WITH DISCOUNT: NONE");
[Link]("FINAL BILL: " + GT);
[Link]("CASH: ");
CS = [Link]();
CH = CS - GT;
[Link]("CHANGE: " + CH);
[Link]("'experience the grande moment, please come again.'");
[Link]("THANK YOU!");
}//closing of discount none
[Link]("Next Customer? ");
ans = [Link]().charAt(0);
}//closing of do
while (ans == 'Y');{//opening of Ans y
[Link]("System close");
}//closibg of ans y
}//closing of try
catch(Exception e)
{//opening of catch
[Link]("ERROR ENCOUTERED!");
}//closing of catch
}//end of main
}//end of class
sTART
Flowchart:
6
-----NAME OF RESORT---
>Reservation details
-Fill-up Date:
-Fill-up Time:
-Reserved Date:
>Customer’s Information
-Name:
-Email:
- Mobile Number
-Address
CHOOSE RESORT
SHIFT
S ==
‘M’ ENTRANCE FEE
S ==
‘N’
3 ENTRANCE FEE
sTOP SHIFT NOT IN LIST
2
3
INPUT NO. OF ADULT
INPUT NO. OF CHILDREN
AF = NA * 200
CF = NC * 100
TEF = AF + CF
DISPLAY TEF
CHOOSE COTTAGE
C == PRICE = 350.00
4
‘W’
C == ‘X’ PRICE = 500.00 4
C == ‘Y’ PRICE = 650.00 4
C == PRICE = 800.00
COTTAGE NOT 4
‘Z’
IN LIST
2
INPUT NO. OF ADULT
INPUT NO. OF CHILDREN
AF = NA * 250
CF = NC * 150
TEF = AF + CF
DISPLAY TEF
C == PRICE = 350.00 4
‘W’
C ==
‘W’ PRICE = 500.00 4
C ==
PRICE = 650.00 4
‘W’
C == PRICE = 800.00 4
‘W’
2 COTTAGE NOT IN
LIST
4
DISPLAY COTTAGE PRICE
INPUT NO. OF STAYING
DAYS
GT = (TEF + CP) ND
OUTPUT GRAND TOTAL
----BILLING INFORMATION-----
F
3 IF GT >=
NO DISCOUNT
1500 3
GRAND TOTAL = FINAL BILL
T
10 % DISCOUNT
DISPLAY FINAL
BILL
DISCOUNT = GRAND TOTAL * .10
5 DIPLAY DISCOUNT
FINAL BILL = GRAND TOTAL - DISCOUNT
DISPLAY FINAL 5
BILL
5
INPUT CASH
CHANGE = CASH – FINAL BILL
DISPLAY CHANGE
“experience the grande moment,
please come again
Next customer
T
Ans == ‘Y’
6
3
Brochure:
Insert picture on curriculum vitae?
1. Copy paste picture
2. Click the picture
3. Go to menu (Upper portion of the screen)
4. Adjust the size by typing 2
5. Click Wrap Text
6. Choose in front of text
7. Place inside the box of curriculum vitae
Curriculum Vitae
NAME: Honeylyn Diares
LRN: 109538080105
ADDRESS: 308 Mateo Quezon St. Admiral Village
EMAIL: diareshoneylyn@[Link]
CONTACT NO: 09392190906
PERSONAL INFORMATION
BIRTHDAY: April 16, 2003
AGE: 16
RELIGION: Christian
MOTHERS NAME: Guadalupe C. Diares
FATHERS NAME: Erwin G. Diares
EDUCATIONAL BACKGROUND
JUNIOR HIGH Casimiro A. Ynares Sr. Memorial National Highschool
2015-2019 Cabrera Rd. Kaytikling
ELEMENTARY Dolores Elementary School,
Felix M. Sanvictores Elementary School
2009- 2015 Taytay,Rizal
SKILLS
Active Listening
Work or Task Flexibility
Critical Thinking
Logical Thinking
Curriculum Vitae
NAME: Paul Kenneth L. De Borja
LRN:
ADDRESS: #90 Int one Quezon Ave. Angono Rizal
EMAIL:Paulkennethlualhati@[Link]
CONTACT NO:09550454248
PERSONAL INFORMATION
BIRTHDAY: October 26 2002
AGE:17
RELIGION: Cathlic
MOTHERS NAME: Melvin De Borja
FATHERS NAME: Agnes De Borja
EDUCATIONAL BACKGROUND
JUNIOR HIGH Angono National High Scool
2017-2018 Kalayaan
ELEMENTARY Juan Giudo School
Angono,Rizal
SKILLS
Active Listening
Critical Thinking
Curriculum Vitae
NAME: Athena Delas Alas
LRN: 403134150268
ADDRESS: East Gate Brgy. San Juan Taytay,Rizal
EMAIL: [Link]@[Link]
CONTACT NO: 09155443070
PERSONAL INFORMATION
BIRTHDAY: August 18,2003
AGE: 16
RELIGION: Catholic
MOTHERS NAME: Ma. Arlene Stuart
FATHERS NAME: Avel delas Alas
EDUCATIONAL BACKGROUND
JUNIOR HIGH NCBA
2015-2019 Taytay 1920
ELEMENTARY SPCP
2009-2015 Ugong, Pasig City
SKILLS
Drawing
Curriculum Vitae
NAME: Ailyn Corpuz
LRN: 1900328350
ADDRESS: Taytay,Rizal
EMAIL: ailynmaecorpuz@[Link]
CONTACT NO: 09051429467
PERSONAL INFORMATION
BIRTHDAY: April 26,2003
AGE: 16
RELIGION: Born Again
MOTHERS NAME: Cherylyn Corpuz
FATHERS NAME: Antonio Corpuz
EDUCATIONAL BACKGROUND
JUNIOR HIGH Muzon National Highschool
2018-2019 Muzon Taytay, Rizal
ELEMENTARY Pelmoca Elementary School
2013-2014 Taytay,Rizal
SKILLS
Drawing
Curriculum Vitae
NAME: John Racel Tuliao
LRN: 109537080397
ADDRESS: Blk 29 damayan San Juan Taytay, Rizal
EMAIL: tuliaojohnrecel@[Link]
CONTACT NO: none
PERSONAL INFORMATION
BIRTHDAY: June 18, 2003
AGE: 16
RELIGION: Catholic
MOTHERS NAME: Arceli P. Tuliao
FATHERS NAME: Raul N. Tuliao
EDUCATIONAL BACKGROUND
JUNIOR HIGH Manuel I. Santos MNHS
2017-2018 Taytay,Rizal
ELEMENTARY Bagong Pag-asa Elementary School
2014-2015 Taytay,Rizal
SKILLS
Drawing
Reading book
Reminder:
1. Please erase all the note/comments I put on this document
2. Print your documents on a short bond paper
3. Insert your documents on a black/dark blue folder with
clear plastic infront
4. Place 4 binder clip (see picture below)
5. Submit during the resume of your class. (No extension)