Java End-of-file

  • + 0 comments

    use int x=1 out of while loop before starting then that will be correct,otherwise it wont iterate.