Conditional Operations

  1. if true_or_false_condition

  2.     then block of statements executed in case of true condition

  3.     else block of statements executed in case of  false condition

(NOTE THE INDENTATION)

 


What is the effect of a conditional operation on the state of the computation?


[Prev]></a><a href=[TOC][Next]


CS1104 Main Page
Last Updated 2001/08/16
© L.Heath, 2000, modified by J.A.N. Lee, 2001.