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
Diano4ka-milaya [45]
3 years ago
14

What does the following code print out? (10 points) int[] array = { 1, 4, 3, 6, 8, 2, 5}; int what = array[0]; // scan the array

for ( int index=0; index < 7; index++ ) { if ( array[index] < what ) what = array[ index ]; } cout << what << endl;
Computers and Technology
1 answer:
pav-90 [236]3 years ago
5 0

Answer:

1

Explanation:

You need to change array initialization as shown below, otherwise you get an error.

int array[] = { 1, 4, 3, 6, 8, 2, 5};

An array is created with the given numbers.

The first number in the array is assigned to what.

A for loop is created to scan the array. Inside the loop, every element in the array is compared to what. If the value of an element in the array is less than the value of the what, then it is assigned as a new what.

When the loop is done, print the last value of the what

You might be interested in
Marie can now edit her photos, send them in emails, print them on a printer, and use them as wallpaper on her computer. This is
AVprozaik [17]

I could be wrong, but I believe this one would be JPG files.

4 0
4 years ago
Read 2 more answers
What is important for an internet user to know about https:// ?
frutty [35]

Answer:

c. It should be contained in the website URL if you'll be providing any personal information.

Explanation:

Https in the URL ensures that the communication between the browser and the server is encrypted using SSL(Secure Socket Layer).

Https stands for Hyper Text Transfer Protocol Secure .

So in all those interactions where security of information flow is a major concern, the communication should happen over https. Examples include:

  • Financial transaction online from my bank account
  • Online purchase using credit card
  • Sharing sensitive information such as health records.

6 0
3 years ago
Type the correct answer in the box. Spell all words correctly.
In-s [12.5K]

Answer:

The answer is "Insert tab".

Explanation:

In the presentation slide components constantly refer to the artifacts in many other presentation software from, which you can bring from the inside of a slide. It involves things like forms, texts, images, videos, and even audio files.  

  • This Insert tab can be found at the head of the PowerPoint software in the toolbar.
  • It allows you to modify the slide, and it also provides a feature to count the number of columns and rows in the table.
7 0
3 years ago
I really need help please help me
Alona [7]
Mathematics because it's is the science of number

Jdhdhrjrjrjfjjf
5 0
3 years ago
Which soft skills would these mobile app developers need to use in the situations described?
Ber [7]

Answer:

1: work ethic/presentation.

2: communication.

3: adaptability.

4: creativity.

(these are all guesses so i'm not 100% sure)

Explanation:

6 0
3 years ago
Read 2 more answers
Other questions:
  • How do u change the level of education on Brainly. cuz i just finished elementry
    9·2 answers
  • How can you tell which of the policies in the security options folder have changed settings?
    10·1 answer
  • OCR Land is a theme park aimed at children and adults. Entrance tickets are sold online. An adult ticket to OCR Land costs £19.9
    7·1 answer
  • GIVING 10 or 20 POINTS for brainliest HELP ASAP!! Instructions Click the links to open the resources below. These resources will
    10·1 answer
  • Given three floating-point numbers x, y, and z, output x to the power of z, x to the power of (y to the power of z), the absolut
    12·1 answer
  • To see the formula in a cell, look at the___
    5·1 answer
  • What type of movement does the output produce
    10·1 answer
  • When an item is gray that means...
    15·2 answers
  • 8. Software ____ are individual programs that can be purchased, installed, and run separately, but extract data from the common
    12·1 answer
  • By the mid-1990s, how did revenue generated from video games compare to revenue generated from movies?
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!