QuoteThere's nothing worse than a teacher that can't teach.Oh come now, really there are lots of things worse.Degenerative brain disease, sociopaths with assault weapons... the list is nearly endless.Quote...which means nothing to a person who doesn't know what it is.Which is why I put it in quotes so that the OP could cut and paste and answer their own question Quoteso i can look them up?then come back here if there was anything they didn't understand.(I teach SCUBA diving. All my students have survived, so I consider myself quite good at it)
There's nothing worse than a teacher that can't teach.
...which means nothing to a person who doesn't know what it is.
so i can look them up?
Yes indeed. The question mark denotes the thing that happens if "X" is true and the colon denotes the thing that happens if "X" is false.Here's an example (pseudo code):what_is_larger = (moon < sun) ? "The sun" : "The moon"The test condition is "moon less than sun". Since the moon is smaller than the sun, "(moon < sun)" evaluates to "TRUE". Therefore, the string after the QUESTION MARK is the one that is placed into the variable "what_is_larger".I could also write it this way:what_is_larger = (moon > sun) ? "The moon" : "The sun"Since, in this case, "(moon > sun)" is FALSE, the string after the COLON is placed into the variable "what_is_larger".Got it?
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16