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:
The PERIMETER P is the distance around the rectangle.
Let's call the width of the rectangle W and the length of the rectangle L.
As you go around the edge there two equal lengths and two equal widths.
The formula for the perimeter of a rectangle is P=2*L+2*W.
P=2L%2B2W
Substitute 290 for P and 62 for the width.
290=2L%2B2%2862%29
Solve for L.
290=2L%2B2%2862%29
290=2L%2B124
290-124=2L
2L=166
L=83
The equation L=83 means that the length is 83 cm.
CHECK your work.
2(62)+2(83) = 124+166 = 290cm.
The length of the rectangle is 83cm.
Answer:
c
Step-by-step explanation:
So, for number 3, its 2. and for number 4 its also 2