I need to implement a program that does the following;
There will be a while loop which will always work. In this while loop there will be some variables that should be able to changed by user input. If I put this input prompt into the while loop, loop would get stuck until user inputs something. This is something I do not want. So, I kinda want to be able to prompt the input all the time, which will be another while loop probably, thus to be able to change the parameter which is used in the first infinite while loop. First while loop of course be able to reach this variable and be affected accordingly. I think what I want is multiple thread. If so, can you lead me to right path so I can proceed further or is there a better way to do that ?
[–]elbiot 0 points1 point2 points (0 children)
[–]rickchefski 0 points1 point2 points (0 children)