Answer:
#include<iostream>
using namespace std;
//create the exchange function
void exchange(int a, int b){
int temp; //initialize temporary
//swap the variables value
temp=a;
a=b;
b=temp;
//print the output after exchange
cout<<"a is: "<<a<<endl;
cout<<"b is: "<<b<<endl;
}
//main function program start from here
int main(){
//initialization
int a=3, b=6;
exchange(a,b); //calling the function
return 0;
}
Explanation:
Create the function exchange with two integer parameter which takes the value from the calling function.
and then declare the third variable temp with is used for swapping the value between two variables.
first store the value of 'a' in the temp and then assign the 'b' value to 'a' and then, assign the temp value to b.
for example;
a=2, b=9
temp=2;
a=9;
b=2;
So, the values are swap.
and then print the swap values.
Create the main function and define the input a and b with values.
Then, calling the exchange function with two arguments.
A potential outcome for an author who uses a word without realizing its connotation is: A. she may write something that she does not mean.
<h3>What is
connotation?</h3>
Connotation refers to the quality, feeling or an idea which a word brings to the mind of a reader or listener, as well as its literal, dictionary or primary meaning.
This ultimately implies that, a potential outcome for an author who uses a word without realizing its connotation is that he or she may write something that she does not mean or pass across an information she didn't intend to.
Read more on connotation here: brainly.com/question/20236939
#SPJ1
Answer: It is not working because it is missing the code needed to turn right.
Sentence :The robot would move forward two squares and would stay stuck there because it can not move forward nor turn left. You would need to add code for the robot to be able to turn right so that the robot can reach the goal
See for yourself.
On windows hit windowskey+r
Type in control and then hit enter
Then search device and printers
The answer is you can add an change settings (dpi, color) of the mouse