Pseudocode: Confusing syntax "<>" and "variable:2:6" -


i studying pseudo code, , despite 3 year history in programming, 1 particular practice-exam question has me perplexed unconventional code (shown below):

enter image description here

highlighted in pink, 2 main problems code. have experience across 3 languages, yet have never encountered control flow method <>, , cannot imagine used for. in addition this, variable average appears in code in form of "average:6:2", equally clueless.

to summarise:

  • what function of control flow method "<>"
  • as stated in question (a) in image above, purpose of 'average:6:2'?

  1. <> common not equal

    while number not equal 999 
  2. number:filed_width:precision pascal formatter real number filed_width being space field , precision numer of digits after dot. 3.141519:4:1 print <space>3.1


Comments

Popular posts from this blog

javascript - Slick Slider width recalculation -

jsf - PrimeFaces Datatable - What is f:facet actually doing? -

angular2 services - Angular 2 RC 4 Http post not firing -