Greatest element of a list: Difference between revisions

Add SmallBASIC
imported>Lacika7
No edit summary
(Add SmallBASIC)
 
Line 1,040:
130 PRINT "The maximum value was "; c; " at index "; i; "."
140 END</syntaxhighlight>
 
==={{header|SmallBASIC}}===
<syntaxhighlight lang="qbasic">
list = [1,1234,62,234,12,34,6]
print max(list)
</syntaxhighlight>
 
=={{header|Batch File}}==
25

edits