📚 C
part1b
PDF 格式
開放完整下載
書籍內容簡介
Programming for MSc Part I Part 1: Fundamentals (d) Branching More than one way to go ??The commands to execute may depend on conditions ??Example: A Customer wants to buy underwear ?? male or female? ??If a condition is true we do this, else that ??Our condition? value is either true or false ??We call this kind of expression Boolean Branching in a C program ??The if-statement in C is like this: if (condition) statement1 else statement2 ??We can leave out the else part: if (condition) stateme…