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):
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'?
<>commonnot equalwhile number not equal 999number:filed_width:precisionpascal formatter real numberfiled_widthbeing space field ,precisionnumer of digits after dot.3.141519:4:1print<space>3.1

Comments
Post a Comment