Finding the Largest Value with Little Man Computer

  • Thread starter Thread starter buttonmutton
  • Start date Start date
  • Tags Tags
    Computer
Join the discussion
Registration is free. Start your own thread to ask a follow-up.
6 replies · 5K 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
I think you misunderstood verty's post. You don't need to store all the input.
 
Please give a detailed rationale why would you would need to store stuff without limit. What would you do with that stored stuff anyway?