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)
{
...
Type: Posts; User: Ganeprog
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)
{
...
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.
...