Please use code tags when posting code
You will need to re-input the health inside the loop so that it will ask the user for the health again. I suspect the current version outputs the 'health status' waits for enter and then outputs the same status again.
Reputation Points: 344
Solved Threads: 116
Practically a Master Poster
Offline 670 posts
since May 2008