Content deleted Content added
Reorganized to abc, Added Pascal, finally typofix |
|||
Line 9:
==The algorithm==
<code lang="pseudocode">
'''ask''' for 11 numbers to be read into a sequence ''S''
'''reverse''' sequence ''S''
'''for each''' ''item'' '''in''' sequence ''S''
'''call''' a function to do an operation
'''if''' ''result'' overflows
'''alert''' user
'''else'''
'''print''' ''result''
</code>
|