1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Elenna [48]
3 years ago
5

Write an algorithm to find the maximum and minimum number from a given list of N numbers .Assume the list is not sorted

Computers and Technology
1 answer:
Y_Kistochka [10]3 years ago
4 0
MaxNumber = 0
minNumber = INT_MAX

for n in list:
  if( n > maxNumber):
   maxNumber = n
  elif( n < minNumber ):
   minNumber = n
You might be interested in
The japanese call the practice of stopping production when a defect occurs
lana66690 [7]

Answer:

Jidoka

Explanation:

hope this helps:)

4 0
3 years ago
Which is the last step to creating a community garden
pentagon [3]

Answer:

construct the garden

Explanation:

step 1. survey the property

step 2. test the soil

step 3. clean contaminants

step 4. consider garden design

step 5. construct the garden

7 0
3 years ago
Proprietary file types are easily displayed in Word documents, Web pages, etc.
lawyer [7]
It should be true :)
7 0
4 years ago
IPv4 and IPv6 are addresses used to identify computers on the Internet. Is this whether true or not:
Tpy6a [65]

Answer:

true

Explanation:

8 0
3 years ago
Given the option of receiving a generic r_sum_ or a tailored r_sum_, employers prefer generic r_sum_s.
krek1111 [17]
<span>It is false that given the option of receiving a generic r_sum_ or a tailored r_sum_, employers always prefer generic r_sum_s. This is false because rarely do employers need something generic from you - they'd always want you to present them with a specific result because that is more important to them than receiving something general and common.</span>
3 0
3 years ago
Other questions:
  • Achieving a degree in computer forensics, information technology, or even information systems can provide a strong foundation in
    11·1 answer
  • Linux distributions overview? information​
    7·1 answer
  • Explain the theory of electro-magnetism
    8·1 answer
  • Which is a form of malware? A. clickjacking B. spam C. cookies D. Trojan horse
    7·2 answers
  • Which is a group of related software applications that are bundled and sold together?
    9·2 answers
  • What is the definition of assiduous?
    7·2 answers
  • ফাইল ও ফোল্ডারের মধ্যে পার্থক্য কি এবং ৫ টি ইনপুট ডিভাইসের নাম কি​
    7·2 answers
  • Which of the following situations is least likely fair use
    6·2 answers
  • Here you guys go im back didnt die or any thing gg for who ever gets this
    11·2 answers
  • Bits of information are combined into meaningful units so that more information can be held in short-term memory through the pro
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!