Finding the Largest Value with Little Man Computer

  • Thread starter Thread starter buttonmutton
  • Start date Start date
  • Tags Tags
    Computer
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
6 replies · 4K views
buttonmutton
Messages
4
Reaction score
0
How do you write a Little Man program which accepts an indefinite number of input values given the conditions that the output value has to be the largest of the input values.

Is it just by entering and storing input or otherwise?
 
Physics news on Phys.org
Then how do you write it?
 
Please give a detailed rationale why would you would need to store stuff without limit. What would you do with that stored stuff anyway?