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 equal
while number not equal 999
number:filed_width:precision
pascal formatter real numberfiled_width
being space field ,precision
numer of digits after dot.3.141519:4:1
print<space>3.1
Comments
Post a Comment