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
enot [183]
2 years ago
10

6. Write a C++ program to print the largest three elements in an array. ​

Computers and Technology
1 answer:
jasenka [17]2 years ago
7 0

Answer:

if (arr[i] > max) -> max3 = max2, max2 = max , max = arr[i]. else if (arr[i] > max2) -> max3 = max2, max2 = arr[i]. else if (arr[i] > max3) -> max3 = arr[i]. At the end of the loop, we will print all three values.

You might be interested in
Please Help Me!!! 40 Points!! Match the correct definition to each term
fgiga [73]

Answer:

is there anymore to this problem because I would like to help you out more mate.

6 0
3 years ago
I’ll give Brainly if u answer all please <br> ASAP
Yuki888 [10]

Answer:

Answers are: 38, 135, 23, 209, 53 & 181 respectively

Explanation:

8 0
3 years ago
Which system is a type of artificial intelligence that uses a database, containing facts and rules, to provide assistance to use
Sholpan [36]
The appropriate response is an Expert system (ES). PC program that gives guidance to leaders who might somehow or another depend on human specialists. It's a sort of computerized reasoning that uses a database to give help to clients.
6 0
3 years ago
Write. A program to fine the difference of two number 25 and 17 . Also displays the output
Anon25 [30]

Answer:

Answer = 25-17

print("25-17", Answer)

Explanation:

You put the sum into a variable which in this case would be Answer and then you can output it with the question.

6 0
3 years ago
True or False: A private access modifier is normally used with methods
Veseljchak [2.6K]
I’m pretty sure it’s true! Brainliest if correct
4 0
3 years ago
Read 2 more answers
Other questions:
  • Which of the following can be used to visually represent information similar to diagrams?
    6·2 answers
  • Diane wants to maintain a record of percent change in sales from the year 2000 to the present year. She enters the values of per
    10·1 answer
  • When two or more links need to pass traffic as if they were one physical link, which of the following would be used to satisfy t
    12·1 answer
  • Can you see it now ivy97? I've posted it again.
    8·1 answer
  • The auto fill feature of excel only allows the user to fill cells with a series using the existing formatting options of the cel
    10·1 answer
  • Please can someone help me answer this question.
    11·1 answer
  • Why is computer called and information processing machine​
    6·1 answer
  • What is a wiki website?
    11·1 answer
  • (50 POINTS)
    12·1 answer
  • The Carolina International School is more Earth-friendly than typical schools because
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!