Reply
Old 03-28-2014, 07:06 PM   #1 (permalink)
 
Status: Junior Member
Posts: 5



Default can someone assist me with this java code

Noobie Java Coder here in desperate need of expert resolution. I have spend countless hours/days & a sleepless night on this & just when I thought I had it I realized I was just too sleep deprived to see that the calculations were off.



I need the code to process input & report output as the 'Sample Outputs' below shows but my code shown in "Java Code.jpg" is totaling the inputs for the progression of each Nursing Home. I need it to be individual for each Home. Also I can not get my occupancy rate working at all.

Greatly Appreciated in advance.

Samle Outputs
-----------------------------------------------------
Nursing Home 1
Number of rooms: 20
Occupied rooms: 15
Vacant rooms: 5
Occupancy rate: 75%
Occupancy Rate is High

How many floors are in Nursing Home 2? 3
How many rooms does floor 1 have? 20
How many occupied rooms are on floor 1: 5
How many rooms does floor 2 have? 20
How many occupied rooms are on floor 2? 8
How many rooms does floor 3 have? 20
How many occupied rooms are on floor 3? 11


Nursing Home 2
Number of rooms: 60
Occupied rooms: 24
Vacant rooms: 36
Occupancy rate: 40%
Occupancy Rate is Low
mikej is offline   Reply With Quote

Reply

Bookmarks

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Color Blind Assist Program (JAVA)? Matt Programming 1 10-31-2013 11:06 AM
Color Blind Assist Program (JAVA)? Matt Programming 0 10-24-2013 02:06 AM
I'm a NOOB and need a quick assist with a Java app? Could someone help me with my tester Java program? stevejobless Programming 2 09-23-2012 10:37 AM
7 Errors in java code related to inheritance. Please assist me. Thank you very much.? Unknown_User Coding 1 06-18-2012 10:37 AM
Please assist in Java question madhusundar Programming 2 05-24-2011 09:06 AM