Suppose that you have the following definitions:struct time Type struct tourTypen the variable destination of type your type are tourType input(){cout<<"Enter the city, distance and time in hr and min"<>destination.city name;
<h3>What is C++ statements?</h3>
Expression statements. These statements examine an expression for its aspect outcomes or for its go-back value. Null statements. These statements may be supplied in which a declaration is needed with the aid of using the C++ syntax however in which no motion is to be taken.
- #include
- #include
- the use of namespace std;
- struct timeType
- ;
- struct tourType
- ;
- tourType destination;
- tourType input(){
- cout<<"Enter the city, distance and time in hr and min"<>destination.cityName;
- cin>>destination.distance;
- cin>>destination.travelTime.hr;
- cin>>destination.travelTime.min;
- go back destination;
- }
- void display()cityName;
- d.distance = t->distance;
- d.travelTime.hr = t->travelTime.hr;
- d.travelTime.min = t->travelTime.min;">
- int main().
Read more about the variable :
brainly.com/question/2804470
#SPJ1
Answer:

Explanation:
d(x) = -2x - 6
to find the inverse of a function, you need to follow these steps:
1. set d(x) = y
2. interchange the variables, so y becomes x and x becomes y
3. solve the equation for y
<u>step 1:</u> set d(x) = y
y = -2x -6
<u>step 2:</u> interchanging the variables
y = -2x - 6 turns into x = -2y - 6
<u>step 3:</u> solving for y
x = -2y - 6 < add 6 to both sides to get rid of it on the right
x + 6 = -2y < divide both sides by -2 to get y alone
x + 6 / -2 = 
-2y / -2 = y
= y
so the inverse of the function is 
Answer:
The "service password-encryption" global configuration command encrypts passwords configured before and after the command is issued.
Explanation:
A switch is an intermediate network device that is used to transfer frames to nodes on its collision domain. It operates in the Data-link layer of the OSI model.
Switches uses media address control (MAC) table, containing the MAC addresses of the nodes in the network, to determine the destination of nodes.
In the global configuration mode in a switch, the password and other protocols are configured. The service password-encryption command in the global execution mode encrypts passwords configured before and after the command.
Answer:
Following are the code block in the Java Programming Language.
//define recursive function
public static long exponentiation(long x, int n) {
//check the integer variable is equal to the 0.
if (x == 0) {
//then, return 1
return 1;
}
//Otherwise, set else
else {
//set long data type variable
long q = exponentiation(x, n/2);
q *= q;
//check if the remainder is 1
if (n % 2 == 1) {
q *= x;
}
//return the variable
return q;
}
}
Explanation:
<u>Following are the description of the code block</u>.
- Firstly, we define the long data type recursive function.
- Then, set the if conditional statement and return the value 1.
- Otherwise, set the long data type variable 'q' that sore the output of the recursive function.
- Set the if conditional statement and check that the remainder is 1 and return the variable 'q'.
<span>how many hours they can work on a project.</span>