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:
Answers are below in bold
Step-by-step explanation:
1) A = 1/2bh Use this equation to find the area of each triangular base
A = 1/2(8)(6) Multiply
A = 1/2(48) Multiply
A = 12cm² Area of each triangular base
2) A = L x W Use this equation to find the area of the bottom rectangular face
A = 20 x 8 Multiply
A = 160 cm² Area of the bottom rectangular face
3) A = L x W Use this equation to find the area of the back rectangular face
A = 20 x 6 Multiply
A = 120 cm² Area of the back rectangular face
4) A = L x W Use this equation to find the area of the sloped rectangular face
A = 20 x 10 Multiply
A = 200 cm² Area of the sloped rectangular face
5) To find the total surface area of the triangular prism, add together all of the numbers.
A = 12 + 12 + 160 + 120 + 200 Add
A = 504 cm² Total area of the triangular prism
So you can say that the weight of a koala here can be x.
So x * 1/8 = 2
2 being the chinchilla's weight and the 1/8 coming from the fact that the chinchilla weighs 1/8 of the weight of the koala.
So you can just divide both sides by 1/8 first.
x * 1/8 = 2
/ 1/8 / 1/8
Or,
x *1/8 * 8/1 = 2 * 8/1
x = 16
So the koala weighs 16 pounds.