coursework/cw03.tex
changeset 686 5fe95ea0bad0
parent 684 51b66db2fc2c
child 719 0ba5aa9ecaa4
equal deleted inserted replaced
685:5e51f4f02245 686:5fe95ea0bad0
    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