Talk:Greatest element of a list: Difference between revisions

Content added Content deleted
(added a comment about the run-time requirement.)
(added a new talk section.)
Line 1: Line 1:
== runtime values ==
"Create a function that returns the maximum value in a provided set of values, '''where the number of values isn't known until runtime'''."
"Create a function that returns the maximum value in a provided set of values, '''where the number of values isn't known until runtime'''."


Line 6: Line 7:


:: I added an '''output''' section for the 3<sup>rd</sup> REXX example &nbsp; (for the run-time requirement). &nbsp; It does make this simple task a wee &nbsp; (or just a wee-wee) &nbsp; bit harder to read and understand the underlying program structure/logic; &nbsp; for one thing, you now have to show the user's input(s) &nbsp; (console/terminal/command line/parameters). &nbsp; -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 21:20, 24 February 2017 (UTC)
:: I added an '''output''' section for the 3<sup>rd</sup> REXX example &nbsp; (for the run-time requirement). &nbsp; It does make this simple task a wee &nbsp; (or just a wee-wee) &nbsp; bit harder to read and understand the underlying program structure/logic; &nbsp; for one thing, you now have to show the user's input(s) &nbsp; (console/terminal/command line/parameters). &nbsp; -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 21:20, 24 February 2017 (UTC)

==greatest element ...==
Does this mean the value, which may imply a numeric value? &nbsp; Or can it also mean a lexicographic value? &nbsp; If the values are numeric, shouldn't the largest numeric value be returned? &nbsp; &nbsp; -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 15:06, 6 October 2018 (UTC)