Just read in a book about the ternary operator ? and have NO clue what it does or how to use it. I don't think my book describes to too well and I am way beyond confused. Can someone help me understand what it does, it's purpose, examples? It says it's like an if-then-else all in one *shrugs*. Any help would be greatly appreciated!