The half gallon is better because you could buy 2 half gallons of milk and get the same amount for $2.98 which is less than $2.99
6/x=27
times both sides by x
6=27x
divide both sides by 27
6/27=x
2/9=x
the missing number is 2/9
Answer:
x = -2 and y = 2
Step-by-step explanation:
The given equations are :
-5x-2y=6 ...(1)
3x+6y=6 ...(2)
Multiply equation (1) by 3. SO,
-15x-6y=18 ...(3)
Adding equation (2) and (3).
3x+6y-15x-6y = 6+18
-12x = 24
x = -2
Put the value of x in equation (1).
-5(-2)-2y=6
10-2y=6
4=2y
y = 2
So, the value of x is -2 and y is 2.
I will be using the language C++. Given the problem specification, there are an large variety of solving the problem, ranging from simple addition, to more complicated bit testing and selection. But since the problem isn't exactly high performance or practical, I'll use simple addition. For a recursive function, you need to create a condition that will prevent further recursion, I'll use the condition of multiplying by 0. Also, you need to define what your recursion is.
To wit, consider the following math expression
f(m,k) = 0 if m = 0, otherwise f(m-1,k) + k
If you calculate f(0,k), you'll get 0 which is exactly what 0 * k is.
If you calculate f(1,k), you'll get 0 + k, which is exactly what 1 * k is.
So here's the function
int product(int m, int k)
{
if (m == 0) return 0;
return product(m-1,k) + k;
}
45℅ should be answer,...........