Search:

Type: Posts; User: Ozicron

Search: Search took 0.08 seconds.

  1. Keeping it the way it is... You still need to do...

    Keeping it the way it is... You still need to do what I recommended in post #4. You need an int variable to hold the correct password for starters.
  2. Are you familiar with a String?

    Are you familiar with a String?
  3. I wouldn't use ints unless that's what the...

    I wouldn't use ints unless that's what the assignment calls for. You will have to do some extra code for that.
  4. Assuming the password is the same for "all...

    Assuming the password is the same for "all users", you need to establish what that password is in a variable. Then do the same thing you did for username. Then compare them. You will also need a...
  5. Since you kinda know where to begin... Do that. ...

    Since you kinda know where to begin... Do that. Your best bet when it comes to getting help is to try until your completely baffled and then post what you've got. From there someone will help push...
  6. Thread: HotelOccupancy

    by Ozicron
    Replies
    3
    Views
    53

    [SOLVED] Also, rethink your formula for occupancy rate.

    Also, rethink your formula for occupancy rate.
  7. Thread: HotelOccupancy

    by Ozicron
    Replies
    3
    Views
    53

    [SOLVED] totalRooms is getting increased multiple times...

    totalRooms is getting increased multiple times per floor in your code. An infinite amount of times if the user repeatedly inputs less than 10 rooms.
Results 1 to 7 of 7