Little man computer

  • #1
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

  • #2
verty
Homework Helper
2,164
198
How much would you need to store in that case?
 
  • #4
AlephZero
Science Advisor
Homework Helper
6,994
291
I think you misunderstood verty's post. You don't need to store all the input.
 
  • #5
Then how do you write it?
 
  • #7
verty
Homework Helper
2,164
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 on Little man computer

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