I´m trying to return a variable i++ when i call the method Main to restart the game how you can see in my code i++ is a counter for the array secretWord and array tip... so every time the main mettod is called i try to pass the i++ counter so then i have a new secretWorld and a new tip. but it is not possible, i just can return a string... there is a diferent way to restart the code "game" passing the counter i++?please Help...
I´m trying to return a variable i++ when i call the method Main to restart the game
how you can see in my code i++ is a counter for the array secretWord and array tip...
so every time the main mettod is called i try to pass the i++ counter so then i
have a new secretWorld and a new tip. but it is not possible, i just can return a
string... there is a diferent way to restart the code "game" passing the counter i++?
please Help...
Attachment: tutorial_11_building_a_guessing_game.zip