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
If PQR measures 75°, what is the measure of SQR?
Nuetrik [128]
Since there's no given exact measurement. I'll assume that the angle is by default 180 degrees.
If angle PQR measure 75 degrees.
then the measurement of angle SQR will be:
Angle PQR = 75
Angle SQR = 180 - 75 degrees
Angle SQR = 105 degrees
8 0
3 years ago
Read 2 more answers
12000 is invested at a 10% rate compounded for 15years
Deffense [45]

Answer:

50126.978033

Step-by-step explanation:

12000(1.10)^15

12000 is your starting amount.

You earning 10% investment so add 1 to that 10% and make it a decimal = 1.10

Raise is to 15 years because it's compounded for 15 years.

5 0
2 years ago
Read 2 more answers
1. What are the term(s), coefficient(s), and
Hoochie [10]

Answer:

Step-by-step explanation:

6c + 5

term : 6c and 5....coefficient : 6......constant : 5

a coefficient is the number multiplied by the variable (the letter)....a constant is just a number with no variables (letters)

8 0
3 years ago
HELP ASAP PLEASE WILL MARK BRAINIEST
Lady bird [3.3K]

Answer:

I thinks its 180 degrees conter clockwise

so one square thing is 90 degrees

and it goes 2 times

u welcome and good luck :)

8 0
3 years ago
Read 2 more answers
A running back is having a great day on the football field. It’s only the third quarter, and he’s already rushed for 203 yards.
Naddik [55]

Answer:

He needs to gain more than 26 yards in order to break his record

Step-by-step explanation:

Let y stand for the number of yards he’ll have to gain. The sum of y plus the number of yards he already has (203) must be greater than 229 in order for him to break the record.  

203 + y > 229                           Set up the inequality.

203 − 203 + y > 229 − 203       Subtract 203 from both sides of the inequality.

y > 26

8 0
3 years ago
Other questions:
  • How do you find the remainder of (x^3-6x^2-9x+3) / (x-3)
    13·1 answer
  • Sophia spent 6,274 rand on her trip. She exchanged rate was 1 rand to $0.14. How many U.S. Dollars did Sophia get? Support your
    8·1 answer
  • The quotient of a number X and 2 is 20
    15·1 answer
  • Select the correct answer. If the zeros of a quadratic function are 3 and 8, what are the factors of the function? A. (x + 8) an
    12·2 answers
  • What are the zeros of the function? f(b) =b ^2 − 16b + 64
    15·1 answer
  • The Acme Candy Company claims that​ 60% of the jawbreakers it produces weigh more than 0.4 ounces. Suppose that 800 jawbreakers
    10·1 answer
  • Identify the angles below.
    10·1 answer
  • I don’t know the answer so ignore the checked box
    9·1 answer
  • Please help asap....​
    6·1 answer
  • E) 3(5-9)-18:(-6)+13<br> BEDMAS
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!