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
What do you think has happened to the Earth? Provide evidence from the movie. *
Jet001 [13]

Answer:

We dont have the movie-

Explanation:

Maybe just look at ur notes

8 0
3 years ago
onsider the following program: Peform a total of six exercises. Select one exercise from each of the following areas: hips and l
Leviafan [203]

Answer:

Beginner

Explanation:

A program like this is ideal for a beginning exerciser due to the high number of repetitions and the sets are not much.

Cheers

3 0
3 years ago
When starbucks sells its coffee and mugs to the public on its website, it is a ________ sale.
Ksivusya [100]

When a business firm such as Starbucks sells its products (coffee and mugs) to the general public on its website, it is a <u>B2C sale</u>.

<h3>What is B2C?</h3>

B2C is a business model which literally means business to consumer and it can be defined as a market which involves businesses selling their products and services directly to the end consumers for their personal use, usually over a website.

In this context, we can infer and logically deduce that when a business firm such as Starbucks sells its products (coffee and mugs) to the general public on its website, it is a <u>B2C sale</u>.

Read more on B2C here: brainly.com/question/2829594

#SPJ1

5 0
2 years ago
a coach wants to divide the basketball team into 2 groups for practice game. Which statistical measurement is the coach most lik
sertanlavr [38]
Math or division
depends on what you learned :)

5 0
4 years ago
Give the full form of GUI​
erik [133]

Explanation:

graphical user interface

8 0
3 years ago
Read 2 more answers
Other questions:
  • 1. Which of the following are considered CAD powerhouses?
    6·1 answer
  • What is a software program for navigating the web and displaying websites and pages?
    5·1 answer
  • Which of the following type of software application would open a txt file
    14·2 answers
  • Hello there!I have a Macbook Air and by accident I had put my finger on the screen and made a small white dot.
    8·2 answers
  • 19. Fair use applies to which of the following situations?
    14·1 answer
  • The results of the SPEC CPU2006 bzip2 benchmark running on an AMD Barcelona has an instruction count of 2.389E12, an execution t
    6·1 answer
  • Write a program that requests the user input a word, then prints every other letter of the word starting with the first letter.
    5·1 answer
  • What is the difference between a programming language and natural (every-day) language?
    12·1 answer
  • Which search strategy explores nodes from the initial state as well as the goal state?
    10·2 answers
  • What does the asterisk (*) after select tell the database to do in this query?
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!