Member 11189395 wrote:
i have to write a simple project ... it is a hangman code in C#
If this is true, then you should be in the C# forum. Otherwise, what you have shown looks like C code.
Member 11189395 wrote:
i have this...but when I run it... i keeps printing twice some sentences...
Have you stepped through the code using the debugger? Are you using Visual Studio, or some other IDE?
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles