The correct answer is option A): "A wedge and a wheel and axle" . A compound machine is a machine composed of two or more simple machines.
Comparison operators are used to compare between objects!
are they equal? is one greater than the other?
if (a == b) ++a;
if (a > b) a = b;
for example when we use a sort function, comparison operators are used inside the function.
Answer:
I have created and attached an image with example values for this question.
First we'll learn the IF function syntax:
IF(logical_test, value_if_true, [value_if_false])
Where
logical_test is the decision making comparison
value_if_true is the result to return when TRUE
value_if_false is the result to return when FALSE
We assume that cells B10 to G10 contain the Total Sales for January to June. And cells B17 to G17 contain the Commissions for January to June.
a.
The formula to use in cell B17 is:
<em>=IF(B10>=200000;True;False)</em>
<em />
b.
The formula to use in cell B17 is:
<em>=IF(B10>=200000;B10*0.35;False)</em>
<em />
c.
The formula to use in cell B17 is:
<em>=IF(B10>=200000;B10*0.35;B10*0.27)</em>
<em />
d.
To copy the formula in B17 to C17:G17, you can just copy and paste or select cell B17 and drag from the black square on the bottom right of the cell.
Answer:
The program to this question can be given as:
Program:
#include <iostream> //header file
using namespace std; //using namespace.
void SwapValues(int* userVal1, int* userVal2); //function declaration.
void SwapValues(int* userVal1, int* userVal2) //function definition.
{ //function body.
//perform swapping
int t = *userVal1;
*userVal1 = *userVal2;
*userVal2 = t;
}
int main() //main method
{
int n1, n2; //define variable
cout<<"Enter first number :"; //message
cin>>n1; //input by user.
cout<<"Enter second number :"; //message
cin>>n2; //input by user.
SwapValues(&n1,&n2); //calling function.
cout<<"Swapped values"<<endl;
cout<<"first number is :"<<n1<<endl; //print value
cout<<"second number is:"<<n2<<endl; //print value
return 0;
}
Output:
Enter first number :3
Enter second number :8
Swapped values
first number is :8
second number is :3
Explanation:
The description of the above C++ language program can be given as:
- In the program, firstly we include the header file. Then we declare and define a function that is "SwapValues()" function in the function we pass two integer variable that is "userVal1 and userVal2" inside a function, we define an integer variable that is "t" and perform swapping.
- Then we define the main function in the main function we define two variables that is "n1 and n2" this variable is used to take value-form user. then we pass this value to function and print the function values.
Assuming no options are provided, Jeremy would do well to create a weekly progress report, detailing what the company has accomplished during the week, and what remains to be accomplished. The report should be goal-based with defined deadlines, and clear explanations on what has been done and what remains to be done, and should be organized by the various aspects of the project (accounting, marketing, etc). This report will help keep his team conscience of their role within the larger project, what they have accomplished thus far, and what still needs to be done.