coursework/cw03.tex
changeset 686 05cfce0fdef7
parent 684 1ee523c4f098
child 719 0de3527e6ae3
equal deleted inserted replaced
685:75d9f9e5906f 686:05cfce0fdef7
    32 \begin{itemize}
    32 \begin{itemize}
    33 \item arithmetic expressions (with the operations from the
    33 \item arithmetic expressions (with the operations from the
    34   previous coursework, that is \pcode{+}, \pcode{-}, \pcode{*},
    34   previous coursework, that is \pcode{+}, \pcode{-}, \pcode{*},
    35   \pcode{/} and \pcode{\%})
    35   \pcode{/} and \pcode{\%})
    36 \item boolean expressions (with the operations \pcode{==}, \pcode{<}, \pcode{>},
    36 \item boolean expressions (with the operations \pcode{==}, \pcode{<}, \pcode{>},
       
    37   \code{>=}, \code{<=}, 
    37   \code{!=}, \pcode{&&}, \pcode{||}, \pcode{true} and \pcode{false})
    38   \code{!=}, \pcode{&&}, \pcode{||}, \pcode{true} and \pcode{false})
    38 \item single statements (that is \pcode{skip}, assignments, \pcode{if}s,
    39 \item single statements (that is \pcode{skip}, assignments, \pcode{if}s,
    39   \pcode{while}-loops, \pcode{read} and \pcode{write})
    40   \pcode{while}-loops, \pcode{read} and \pcode{write})
    40 \item compound statements separated by semicolons
    41 \item compound statements separated by semicolons
    41 \item blocks which are enclosed in curly parentheses
    42 \item blocks which are enclosed in curly parentheses