Search:

Type: Posts; User: Ganeprog

Search: Search took 0.14 seconds.

  1. Re: Experiencing problems w/ Scanner & main, open to any assistance!

    Hi BlackStones,

    You put the break statement wrongly. Please put the break statement outer if condition not inside if. For your reference see the below code

    while(true)
    {
    ...
  2. Re: Experiencing problems w/ Scanner & main, open to any assistance!

    Hi,

    As per your program, Your problem is

    If i entered "e" means you are trying to parse into double that time you are getting NaN.
    if i entered number means program hanged in infinite loop.
    ...
Results 1 to 2 of 2