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

19th Jun 2018, 5:22 PM
Khushboo Gupta
Khushboo Gupta - avatar
2 Answers
0
for(int I = 5; I >= 0;I--) { if(i == 5) Console.WriteLine("Fire"); else Console.WriteLine(i); }
19th Jun 2018, 5:40 PM
John
John - avatar
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.
30th Jun 2018, 11:15 PM
Knight Foster Steele
Knight Foster Steele - avatar