C statements

The following C statements can be used :

<if statement>=
    if ( <boolean expression> ) <statement>

<if else statement>=
    if ( <boolean expression> ) <statement> else <statement>

<while statement>=
    while ( <boolean expression> ) <statement>

<switch statement>=
    switch (<identifier>) <case sequence>

   <case sequence> = <case sequence> <case statement> | <case statement>
   <case statement> = case <integer>: <statement sequence> break;
       | case <integer>: <statement sequence>
       | default: <statement sequence>

<for statement>=
   for (<assignment sequence>; <boolean_expression>; <for assignment statement>)
      <statement>

      <for assignment statement>=
         <assignment identifier> = <expression>
      <assignment sequence>=
         <assignment sequence>, <for assignment statement>
         | <for assignment statement>



Guilherme Dutra Gonzaga Jaime 2010-10-27