+ 2
Is this if else need for programming a game?
Please respect my question
6 Answers
+ 9
All logical constructs such as if-else, for, do-while, are all deeply important for all programming. So yes.
+ 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++ :-)
+ 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.
+ 7
If and else are the vital ones in programming. You will need them in almost every program that you make
+ 5
There is 99% probability that a useful 100+ line program will have a conditional statement like if, if else etc,.
+ 3
yes,
conditions,loops are always use in almost every programing language.