Search:

Type: Posts; User: angstrem

Search: Search took 0.12 seconds.

  1. Replies
    9
    Views
    1,067

    Re: Guyyzz,the output is not coming-- PLS HELP

    By the way, that loop is incorrect. It checks whether a number is not prime. If we write "return" in a loop, will that loop be still correct in all cases?
  2. Replies
    9
    Views
    1,067

    Re: Guyyzz,the output is not coming-- PLS HELP

    No. Check _manually_ whether you've provided _correct_ "while" condition at for-loop.
  3. Replies
    9
    Views
    1,067

    Re: Guyyzz,the output is not coming-- PLS HELP

    Check your for loop's conditions. Analyse when is it true and when is it false.
Results 1 to 3 of 3