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:
give me 2 minutes and I will
Answer:
<h2>2 hours</h2>
Step-by-step explanation:
Easiest way to solve this is add and subtract till we get the values balanced.
Stock A
9 am $14.15
10 am $14.21
11 am $14.27
12 pm $14.33
1 pm $14.39
2 pm $14.45
Stock B
12 pm $14.65
1 pm $14.57
2 pm $14.45
Notice the bold values are the same at the same time 2 pm. If we start at 12 pm with stock B, it will be 2 hours before the prices are the same.
I'm always happy to help :)