0
Is there any method to change the countdown to a word in c# scripting
suppose the countdown goes from 5 to 0 and I want to show Fire instead of zero in the text box ,so how to test the condition and write the code
2 Réponses
0
for(int I = 5; I >= 0;I--)
{
if(i == 5)
Console.WriteLine("Fire");
else
Console.WriteLine(i);
}
0
Did John's answer your question? If not, I'd like to help, but in not quite sure what you are doing. I'd need you to describe what your game is, and what you are trying to accomplish better.