Guides:C/C Crash Course/Making Decisions
A program would be pretty worthless if it couldn't make decisions. I'm not talking about complex decisions like whether to have pizza or Chinese food, but decisions based upon the state of the program (the data stored in the variables in the program). So lets discuss how to make a program choose it's own path.
We have divided this section into to parts: