1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Little Man Computer

Discussion in 'Software Development' started by ddeery13, Nov 20, 2011.

Thread Status:
Not open for further replies.
Advertisement
  1. ddeery13

    ddeery13 Thread Starter

    Joined:
    Nov 20, 2011
    Messages:
    6
    how can you accept an indefinite number of input values within the little man computer?
     
  2. sepala

    sepala

    Joined:
    May 20, 2010
    Messages:
    4,038
    Hi,

    welcome to TSG. Anyway, what are you talking about? I guess no one can understand your question just written in one line :)
     
  3. ddeery13

    ddeery13 Thread Starter

    Joined:
    Nov 20, 2011
    Messages:
    6
    The question is this - Write a Little Man program to accept an indefinite number of input values. The output value will be the largest of the input values. You should use the value 0 as a flag to indicate the end of input.
     
  4. 1002richards

    1002richards Trusted Advisor

    Joined:
    Jan 29, 2006
    Messages:
    5,318
    Is it homework? 'cos I've not seen a request for help here phrased like that :eek:
     
  5. sepala

    sepala

    Joined:
    May 20, 2010
    Messages:
    4,038
    TSG don't have the "Like"button.. Otherwise I have already given one to you
     
  6. 1002richards

    1002richards Trusted Advisor

    Joined:
    Jan 29, 2006
    Messages:
    5,318
  7. ddeery13

    ddeery13 Thread Starter

    Joined:
    Nov 20, 2011
    Messages:
    6
    It's just a practical question - however i'm completely stuck with both and would greatly appreciate if someone could help me?
     
  8. sepala

    sepala

    Joined:
    May 20, 2010
    Messages:
    4,038
    Please post your code here. Otherwise there is no way of helping you, because we don't know where you got stuck, what is your JAVA level, etc.
     
  9. Cookiegal

    Cookiegal Administrator Malware Specialist Coordinator

    Joined:
    Aug 27, 2003
    Messages:
    101,717
    Closing as we don't assist with homework.
     
  10. Sponsor

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Loading...
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/1027737