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
Reil [10]
3 years ago
12

Suppose that you have the following function. void mystery(int& one, int two) { int temp temp = one; one = two; two = temp;

} What are the values of x and y after the following statements? (Assume that variables are properly declared.) x = 10; y = 15; mystery(x, y);
Mathematics
1 answer:
vlada-n [284]3 years ago
7 0

Answer:

x = 15 and y = 10

Step-by-step explanation:

It is assumed that 'x' and 'y' are declared as '10' and '15' respectively. Then following the mystery(x, y) function which is pass 10 and 15 as parameter. Then we can follow the logic of the mystery function.

First, temp is assigned to one; that is temp = 10

Secondly, one is assigned to two; that is one = 15

Thirdly, two is assigned to temp; that is two = 10.

Since x and y is same as one and two; we say:

x = one = 15  and

y = two = 10.

You might be interested in
PLS HELP WILL GIVE BRAINLIEST
wlad13 [49]

Answer:

32 percent

Step-by-step explanation:

8,000×400÷100

7 0
3 years ago
Please hurry simplify the expression (15^1/5)^5
Lelu [443]

Answer:

15

Step-by-step explanation:

using the rule of exponents

(a^m)^{n} = a^{mn}

(15^{\frac{1}{5)} } ^{5} = 15^{(1/5(5))} = 15^{1} = 15


5 0
3 years ago
Use Word to documents your comparison of the two years and explain your findings in at least two paragraphs. Including: Explain
pickupchik [31]

In statistics, the standard deviation deviation may be a measure of the quantity of variation or dispersion of a group of values. The margin of error may be a statistic expressing the number of sampling error within the results of a survey. The correlation could be a statistical measure of the strength of the connection between the relative movements of two variables.

Given nothing and that we need to explain standard deviation. margin of error, correlation coefficient .

Standard deviation

In statistics, the standard deviation may be a measure of the number of variation or dispersion of a group of values. an occasional variance indicates that the values tend to be near the mean of the set, while a high variance indicates that the values are detached over a wider range.

Formula: \sqrt{(x-x bar)^{2}/N }

where x bar is mean and N is size of population.

Margin of error

The margin of error may be a statistic expressing the quantity of sampling error within the results of a survey. The larger the margin of error, the less confidence one should have that a poll result would reflect the results of a survey of the complete population.

Formula for M=z*s/\sqrt{n}

here z is z value of Z score , s is variance , n is that the sample size.

Correlation coefficient

In statistics, the Pearson parametric statistic ― also called Pearson's r, the Pearson product-moment parametric statistic, the bivariate correlation, or colloquially simply because the coefficient of correlation ― could be a measure of linear correlation between two sets of information.

Formula=∑(x_{i} -x bar)(y_{i} -y bar)/\sqrt{}∑(x_{i} -x bar)^{2}∑(y_{i}-ybar) ^{2}

Learn more about correlation coefficient at brainly.com/question/4219149

#SPJ4

4 0
2 years ago
Differentiate 6+4x - x^2
vfiekz [6]

Answer:

2x+4

Step-by-step explanation:

hope that helps

3 0
2 years ago
If you randomly pick a date in april, how mny equally likely outcomes are there.
ArbitrLikvidat [17]
There are 30 days in April, so if you randomly pick a date in April there are 30 equally likely outcomes
6 0
3 years ago
Other questions:
  • Karen owns a seafood restaurant. She orders trout from an online retailer. Each pound of trout costs $32, and the company charge
    7·2 answers
  • Please help!!!!!! please please please!!!
    7·1 answer
  • What is the exponential regression equation for the data set?
    8·2 answers
  • A circle has a circumference of 16 7 feet. What is the<br> radius of the circle, in feet?
    8·1 answer
  • in biology class,the girl ratio is 3 to 10.if their are total of 52 students,how many boys are are their?
    14·1 answer
  • How many millimeters are<br> there in 5 centimeters?
    6·1 answer
  • What does negative 2 over 3 &gt; −1 indicate about the positions of negative 2 over 3 and −1 on the number line?
    9·2 answers
  • Find the volume of the composite figure below round your answer to the nearest whole number
    10·1 answer
  • Julie has 81 pieces of jewelry
    12·1 answer
  • Decide whether the relation is a function
    7·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!