Kinds of statements Most basic assignment statement // = ; // where lval denotes some expression that names memory, such as a variable name or an array entry reference. // A[3] = A[2} + x/13 ; // expressions - issue of parenthesization and its convenient, partial, optional elimination by taking advantage of operator precedence. return statement // return ; // Sequence block statement // { ... } // Note lack of ending semicolon. Choice if statement // if ( ) else // The else part is optional switch statement // ... // Not often needed. Look into this later. Repetition while statement // while ( ) // do-while statement // do while ( ) // for statement // for ( ; ) // The body of these loop constructs (the part) is usually a block statement. The for statement is equivalent to { while ( ) { } } the do-while is equivalent to { while ( ) } In the AM work up some examples.