Answer:
// C++ Program to arithmetic operationf on 2 Numbers using Recursion
// Comments are used for explanatory purpose
#include <bits/stdc++.h>
using namespace std;
// add10 recursive function to perform arithmetic operations
int add10(int m, int n)
{
return (m + product(n, 10)); //Result of m + n * 10
return 0;
}
// Main Methods Starts here
int main()
{
int m, n; // 2 Variables m and n declared as integer
cin>>m; // accept input for m
cin>>n; // accept input for n
cout << "Result : "<<add10(m,n); // Print results which is calculated by m + 10 * n
return 0;
}
Answer:
6
Step-by-step explanation:
4 times 8 = 32. 56 - 32 = 24. 24 divided by 4 = 6.
Answer: Equation:
or
x is the cost of each shrub x = $10
Step-by-step explanation: Total bill = $62.50.
Subtract the cost of potting soil for $12.50 to find the cost of just the shrubs. 5x equals that amount
5x = 62.50 - 12.50
5x = 50 divide both sides by 5
5x/5 = 50/5
x = 10
The distance between points A and C is 7 units, so to find the length we divide 35 by 7 which equals 5. Now we know that points B and D must be 5 units away from A and C, which means that B would be at (2, 3) and D would be at (2, -4). I hope this helps!
Answer:
a)
28000 + 3000·x = 36000 + 2000·x --> x = 8 years
b)
28000 + 3000·8 = $52000