+ 2
How do i uae the if-statement with words, not with math?
4 ответов
+ 17
Perhaps he is referring to boolean?
bool isCorrect = true;
if (isCorrect)
{
// do something
}
+ 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
+ 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.
0
umm ty for the help... it didnt rilly anser my qustoin but ok i will try it