+ 2

Is this if else need for programming a game?

Please respect my question

11th Apr 2017, 6:55 PM
LorDu
LorDu - avatar
6 Answers
+ 9
All logical constructs such as if-else, for, do-while, are all deeply important for all programming. So yes.
11th Apr 2017, 8:03 PM
SoraKatadzuma
SoraKatadzuma - avatar
+ 8
if (doesBryanWantToMakeAGameUsingC == True) { printf("You need to know those if...else, for... and other constructions!"); } else { printf("You can do something else..."); } //sorry... I forgot syntax of c++ :-)
11th Apr 2017, 7:34 PM
Andrew Harchenko (Tomsk)
Andrew Harchenko (Tomsk) - avatar
+ 8
We were once tested on an assignment to not use conditional statements and built-in functions to generate random numbers. This reflects how important conditional statements are in programming.
12th Apr 2017, 2:22 PM
Hatsy Rei
Hatsy Rei - avatar
+ 7
If and else are the vital ones in programming. You will need them in almost every program that you make
11th Apr 2017, 7:05 PM
Dinmukhamed Mailibay
Dinmukhamed Mailibay - avatar
+ 5
There is 99% probability that a useful 100+ line program will have a conditional statement like if, if else etc,.
12th Apr 2017, 5:00 AM
Krishna Teja Yeluripati
Krishna Teja Yeluripati - avatar
+ 3
yes, conditions,loops are always use in almost every programing language.
12th Apr 2017, 5:19 AM
Vikas Sharma
Vikas Sharma - avatar