+ 2

How do i uae the if-statement with words, not with math?

3rd May 2017, 5:09 PM
Saar Peled
4 Respostas
+ 17
Perhaps he is referring to boolean? bool isCorrect = true; if (isCorrect) { // do something }
3rd May 2017, 6:22 PM
Hatsy Rei
Hatsy Rei - avatar
+ 3
What do you mean "with words, not with math"? Do you mean "with words" string; something like this? if(object.ReferenceEquals("my String","another string"l)) // returns false if(object.ReferenceEquals("same String","same String"l)) // returns true
3rd May 2017, 5:17 PM
Thanh Le
Thanh Le - avatar
+ 1
If you cannot even do basic math, I would suggest getting someone to tutor / teach you. Actual programming requires math in order to get anything done. Even those simplified game creation software that state no programming is needed still use math internally in the game it creates for you.
3rd May 2017, 8:09 PM
Katie (Ctrl-Alt-Cuteness)
Katie (Ctrl-Alt-Cuteness) - avatar
0
umm ty for the help... it didnt rilly anser my qustoin but ok i will try it
3rd May 2017, 5:21 PM
Saar Peled