Search:

Type: Posts; User: Norm

Search: Search took 0.09 seconds.

  1. Thread: Logic error help

    by Norm
    Replies
    6
    Views
    2,375

    Re: Logic error help

    Here's a sample of code with indentations to show nesting:

    int size = 6;
    for(int lineNbr=0; lineNbr < size; lineNbr++) {
    // print size - lineNbr spaces
    for(int nS...
  2. Thread: Logic error help

    by Norm
    Replies
    6
    Views
    2,375

    Re: Logic error help

    Please edit the code and format it properly. Nested statements should be indented.

    What happens when the code is executed? Does the output look correct for the data that was entered as input?
  3. Thread: Logic error help

    by Norm
    Replies
    6
    Views
    2,375

    Re: Logic error help

    Can you describe what the code is doing incorrectly?

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


    YOUR CODE HERE

    to get highlighting and preserve formatting.

    Be sure the...
Results 1 to 3 of 3