Content deleted Content added
→Perl golf: 73->79. published a wrong code. |
Loadmaster (talk | contribs) →The algorithm: reformat Algol code |
||
Line 9:
<code>
'''begin'''
'''integer''' i; '''real''' y; '''real array''' a[0:10]; '''begin''' y := f(a[i]);▼
'''for''' i :=
'''for''' i := 10 '''step''' -1 '''until''' 0 '''do'''
'''end'''▼
▲ '''begin''' y := f(a[i]);
'''if''' y > 400 '''then'''
write(i, "TOO LARGE")
'''else'''
write(i, y);
▲ '''end'''
'''end'''
</code>
|