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
MatroZZZ [7]
3 years ago
15

Which XXX and YYY correctly output the smallest values? Vector user Vals contains integers (which may be positive or negative).

Choices are in the form XXX/YYY. // Determine smallest (min) value int minval; XXX for (i = 0; i < uservals.size(); ++i) { if (YYY) { minval - userVals.at(i); cout << "Min: " << minval << endl; minval - uservals.at(); /uservals.at(i) < minval minval = 0; /userval > minval minval - uservals.at(); /uservals.at(i) > minval minval - 0; /userval < minval
Computers and Technology
1 answer:
liubo4ka [24]3 years ago
3 0

Answer:

The answer is "minVal - userVals.at(0); /userVals.at(i) < minVal  "

Explanation:

In the question, it uses minVal instead of XXX to hold the very first arra(userVal) element, and rather than YYY you choose a conditional statement to check which integer is lower than minVal to index of loop increment. It changes the value of the minVal if the condition is valid. It's completely different if we talk about another situation.

You might be interested in
Which service uses a broadband connection?
Sidana [21]

Answer:

d

Explanation:

because all in one question form

5 0
3 years ago
"You have an interface on a router with the IP address of 192.168.192.10/29. Including the router interface, how many hosts can
SSSSS [86.1K]

Answer:

6 hosts can have IP addresses on the LAN attached to the router interface

Explanation:

Given IP address

=> 192.168.192.10/29

It has a subnet mask of /29 which means it has 3 host bits. This is calculated by subtracting 29 from 32(number of bits in an IPV4)

Since there are 3 host bits,  the total number of possible addresses is given by

=> 2^{3} = 8 possible addresses.

Out of these 8 possible addresses, the first address will be the subnet id and the last address will be the broadcast address.

Therefore, there are only 6 addresses available for the hosts.

<em>Hope this helps!</em>

5 0
3 years ago
What does the Send Backward icon allow a publisher to do?
lianna [129]

Answer:

It reverts to the original image

Explanation:

6 0
4 years ago
Read 2 more answers
Should spreadsheets be used to capture the results of a science experiment?<br><br> YES<br> NO
Lyrx [107]

Answer:

Yes

Explanation:

Spreadsheets should be used to capture the results of science experiments because they are good for sorting data. They make results easier and information easier to see and use.

3 0
2 years ago
Read 2 more answers
The major difference between a template and another document is in.​
tensa zangetsu [6.8K]
Templates in pandadoc are used for generic content that you intend on using multiple times, while documents are used for specific information. In order to send a document, you must first creat it from an existing template.
4 0
3 years ago
Other questions:
  • Dennis is driving a car with his family onboard. His children are sitting on the backseat. They have a tablet and want to watch
    13·1 answer
  • Which of the following is something that all computer models use in their calculations?
    12·1 answer
  • Which should you use to find a saved file?
    15·2 answers
  • It skills which move well between industries are considered?
    11·1 answer
  • In Word, a red wavy underline indicates a/an
    15·1 answer
  • What are the examples of shareware?
    9·2 answers
  • How do you repair a USB?
    15·2 answers
  • Witch of the following is a valid why a scientist might a scientific theory
    13·1 answer
  • What is the output of the following program?
    5·1 answer
  • How do you find a single number or name you want in a
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!