Back to table

Womens Age

The following is valid µOCCAM. Uses channels to read in a variable , then do an op and an assignment but never prints out the result

Program file: /public/cs3/web/ipptests-phase-1/womensage.accept
SEQ
  keyboard ? yob
  age:= 2000-yob
  STOP
  screen ! age