Thread Closed

Little man program

 
Share Thread Thread Tools
Nov19-12, 10:49 AM   #1
 

Little man program


Write a Little Man program to accept an unknown amount of input values. the largest value enetered will be the output value. the value 0 should be used as a

flag to indicate the end of input.
Any suggestions please help,
PhysOrg.com
PhysOrg
science news on PhysOrg.com

>> Ants and carnivorous plants conspire for mutualistic feeding
>> Forecast for Titan: Wild weather could be ahead
>> Researchers stitch defects into the world's thinnest semiconductor
Nov19-12, 12:47 PM   #2
 
Recognitions:
Gold Membership Gold Member
Please post this in the proper format for homework problems and show what you have been able to do yourself and ask specific question about what you are stuck on.

Also, you should read the forum rules. Just asking for an answer is not how this forum works.
Nov19-12, 01:06 PM   #3
 
basically i just want to know should a loop be used and how is the value stored thanks
Nov19-12, 01:23 PM   #4
 
Recognitions:
Gold Membership Gold Member
Science Advisor Science Advisor

Little man program


The value is stored in an integer variable. The loop stops when the variable gets set to zero.

Please post all of you requirements, this is clearly homework. We need to know what language(s) you are required to use, etc.
Nov19-12, 01:45 PM   #5
 
Recognitions:
Gold Membership Gold Member
Also, post your work here in the forum, not in a PM to me.
Nov19-12, 05:39 PM   #6
 
Mentor
Quote by phinds View Post
Also, post your work here in the forum, not in a PM to me.
Also, use the appropriate subforum of "Homework & Coursework Questions":

http://www.physicsforums.com/forumdisplay.php?f=158

instead of this one.
Thread Closed
Thread Tools


Similar Threads for: Little man program
Thread Forum Replies
AVLTree program and Binary Tree program help Engineering, Comp Sci, & Technology Homework 0
Simple Java class + driver program help. Program isn't working, but should be. Programming & Comp Sci 7
Writing a Linear program as a semi definite program General Math 6
Astro simulation program problem - program bugs? Astrophysics 4