【正文】
resentation in which specific symbols and necessary letters are used to describe the steps. 3)The flow chart about the three basic programming construct is as follows:,Sequential structure,Selection Structure,Selection Structure,?,relation operator and relation expression,logical operators and logical expression,if statements, switch statements, examples,Chapter Outline,?,Three forms:,(1)if(expression)statements (2)if( expression ) statements 1 else statements 2 (3)if( expression 1) statements 1 else if (expression 2) statements 2 else if (expression 3) statements 3 else if(expression m) statements m else statements n,ex,ex,ex,Brief Summary,?,Forme1:if(expression)statements,expression,statements,F(0),T(not 0),ex: if(xy) printf(“%d”,x)。 else if (number300) cost=0.10。,Form3:nested if statements,example,?,(1)The expression of three forms behind ifstatements always is logical or relation expression.,DCL of thre