Search:

Type: Posts; User: Norm

Search: Search took 0.10 seconds.

  1. Replies
    17
    Views
    1,590

    Re: Project Nursing Home Due Tonight Help

    Look at that statement again. What is it testing?
    Use English to describe how to test if a number is between 50 and 74. What two comparisons would need to be made.


    Do you have a calculator? ...
  2. Replies
    17
    Views
    1,590

    Re: Project Nursing Home Due Tonight Help

    Do you have the formula for computing percent now? How did you get 75% for those numbers? What is the formula?



    if (occupancyRate==50 && occupancyRate==74)
    When would this statement be...
  3. Replies
    17
    Views
    1,590

    Re: Project Nursing Home Due Tonight Help

    Do some research on how to compute percent.

    If there are 20 rooms and 15 are occupied, what percent of the rooms are occupied?



    The posted code does not show the end of the if/else if...
  4. Replies
    17
    Views
    1,590

    Re: Project Nursing Home Due Tonight Help

    So if there are 100 rooms and 1 is occupied then the rate is 100/1 = 100 or 10000%
    That doesn't see right.
    I'd think the rate would be 1% (1/100 * 100)
  5. Replies
    17
    Views
    1,590

    Re: Project Nursing Home Due Tonight Help

    Did you look at what you posted? The tags go before and after the full contents of ALL the code, not around each statement.

    You missed answering these questions:
    what value is computed? what...
  6. Replies
    17
    Views
    1,590

    Re: Project Nursing Home Due Tonight Help

    what value is computed? what should the value be? Check your math to see how it should be computed. The rates would be from 0 to 100%
    How do you compute percent?

    To wrap the code in code tags:...
  7. Replies
    17
    Views
    1,590

    Re: Project Nursing Home Due Tonight Help

    Please edit your post and wrap your code with code tags:


    <YOUR CODE HERE>

    to get highlighting and preserve formatting.

    What are you having problems with?
  8. Replies
    17
    Views
    1,590

    Re: Revised Project Nursing Home

    Please explain what you have finished and what are having problems with.

    What is on the console when the program executes?
    On Windows: To copy the contents of the command prompt window:
    Click on...
  9. Replies
    17
    Views
    1,590

    Re: Revised Project Nursing Home

    Do the project in separate steps.
    Display messages and get user responses
    Compute values and display them.

    Later when that works, work on using a loop for multiple sets of input.

    What do...
Results 1 to 9 of 9