Little man computer

Main Question or Discussion Point

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?
 

Answers and Replies

verty
Homework Helper
2,157
198
How much would you need to store in that case?
 
there's no limit
 
AlephZero
Science Advisor
Homework Helper
6,953
291
I think you misunderstood verty's post. You don't need to store all the input.
 
Then how do you write it?
 
Any suggestions?
 
verty
Homework Helper
2,157
198
Please give a detailed rationale why would you would need to store stuff without limit. What would you do with that stored stuff anyway?
 

Related Threads for: Little man computer

  • Last Post
Replies
2
Views
5K
  • Last Post
Replies
2
Views
1K
  • Last Post
Replies
7
Views
2K
Replies
2
Views
2K
  • Last Post
Replies
11
Views
2K
  • Last Post
Replies
10
Views
3K
Replies
1
Views
1K
  • Last Post
Replies
3
Views
1K
Top