This week's book giveaway is in the Java in General forum.
We're giving away four copies of Event Streams in Action and have Alexander Dean & Valentin Crettaz on-line!
See this thread for details.
Win a copy of Event Streams in Action this week in the Java in General forum!

Kosu Wood

Greenhorn
+ Follow
since Feb 25, 2019
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Kosu Wood

Not sure how to create different room types in coding
Basic >> 6 rooms in total >> $150
Deluxe >> 3 rooms in total >> $250
Penthouse >> 1 room >> $600




      My code looks like :

     


And further down in my code I implemented methods to capture the guests' data and store it. I can even choose to view all guests and what room they were assigned. However, I'm not sure how to code the room types with a fixed amount of rooms and their cost to later print how much the customer has to pay and details about their room.

 

5 months ago
Can anyone help me with this assignment?  webpage
5 months ago