# Tutor profile: Alyssa A.

## Questions

### Subject: C++ Programming

Write a short C++ function to add two integer values together. Call the function adder, use the variable names first, second, and sum, and assume the function returns the sum. Assume first and second are variables which will be passed in when the function is called.

int adder(int first, int second) { sum = first + second; return(sum); }

### Subject: English

Fill in the correct article for the following sentence: The cat sat on ___ (a/an) hat.

The correct answer here would be a, since an is used before words that begin with a vowel. So the full sentence would be: The cat sat on a hat.

### Subject: Algebra

Solve the following equation for x: 15 - 2x = 5x - 6

We first add 2x to both sides. This will give us the following: 15 = 7x - 6 This is because the 2x is cancelled out on the left hand side, and added to the 5x on the right hand side. We will follow the same method to add 6 to both sides. 21 = 7x Now that we have all the x's on one side, we divide both sides by 7 to solve for x. Thus, we are left with the following: 21/7 = x. So, x = 3, since 21/7 = 3

## Contact tutor

needs and Alyssa will reply soon.