Search:

Type: Posts; User: stahta01

Search: Search took 0.03 seconds.

  1. Replies
    13
    Views
    4,188

    It almost works, he needs to add 1 to all the...

    It almost works, he needs to add 1 to all the results.
    I would say the algorithm is OK (but lacking detail); And, the implementation is flawed.

    Tim S.
  2. Replies
    13
    Views
    4,188

    I suggest only having a single value to test...

    I suggest only having a single value to test instead of two as you do with "m" and "n".

    Edit: I also suggest use "x*x" instead of "pow(x,2)".

    Tim S.
  3. Replies
    13
    Views
    4,188

    Step 4 implies the use of a loop; likely a...

    Step 4 implies the use of a loop; likely a do/while or while loop.

    Suggestion: State the input, the expected output, and the incorrect output from your program.

    Tim S.
Results 1 to 3 of 3