0
I do not know what is the problem?
2 Answers
+ 4
You may want to elaborate on your question. This is a very poorly asked question, giving no insite to those who view it, as to what your code is supposed to do, how you are wanting it to behave, what types of input(s) are expected (with examples), what outputs are expected with the given example input(s).
That being said with just a quick look at your code I can say that it seems to be improperly organized and doesn't really make sense as to its functionality. The code does work as is without compiler error, but you do have an infinite while loop, due to the 'true' value of the 'again' variable never being changed. As for the rest of the code, without answering the above with examples, you most likely won't get an answer. Nobody wants to have to spend a bunch of time trying to decipher your code and your intent without any reasonable explanation. Good luck.
0
Thanks a lot!!!