Max Value Finder: Little Man Program

  • Thread starter Thread starter bennyboy123
  • Start date Start date
  • Tags Tags
    Program
AI Thread Summary
A Little Man program can be created to accept an unknown number of input values, where the largest value entered is outputted. The input process should use 0 as a flag to indicate the end of input. A loop is necessary to continuously accept values until 0 is entered, and the values should be stored in an integer variable. It's essential to follow forum guidelines by posting specific questions and showing any progress made on the homework. Additionally, users should specify the programming language required for their assignment and utilize the appropriate subforum for homework-related inquiries.
bennyboy123
Messages
3
Reaction score
0
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,
 
Computer science news on Phys.org
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.
 
basically i just want to know should a loop be used and how is the value stored thanks
 
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.
 
Also, post your work here in the forum, not in a PM to me.
 
I came across a video regarding the use of AI/ML to work through complex datasets to determine complicated protein structures. It is a promising and beneficial use of AI/ML. AlphaFold - The Most Useful Thing AI Has Ever Done https://www.ebi.ac.uk/training/online/courses/alphafold/an-introductory-guide-to-its-strengths-and-limitations/what-is-alphafold/ https://en.wikipedia.org/wiki/AlphaFold https://deepmind.google/about/ Edit/update: The AlphaFold article in Nature John Jumper...
Thread 'Urgent: Physically repair - or bypass - power button on Asus laptop'
Asus Vivobook S14 flip. The power button is wrecked. Unable to turn it on AT ALL. We can get into how and why it got wrecked later, but suffice to say a kitchen knife was involved: These buttons do want to NOT come off, not like other lappies, where they can snap in and out. And they sure don't go back on. So, in the absence of a longer-term solution that might involve a replacement, is there any way I can activate the power button, like with a paperclip or wire or something? It looks...

Similar threads

Replies
7
Views
4K
Replies
18
Views
7K
Replies
16
Views
2K
Replies
3
Views
2K
Replies
2
Views
2K
Back
Top