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.
Hello <span>Imansimmons1412
</span><span>
Answer: </span>Data redundancy occurs when the same data is duplicated in multiple files of a database.
Hope This Helps
-Chris
Answer
The benefit is that it put your result in a more historical perspective
Explanation
The Hootsuite Analytics and measuring tools work to provide a complete report of the companies social media contributions at each marketing stages. The Hootsuite Analytics measures the overall performance , the effect for in depth analysis of shared posts including social listening. The analysis is able to monitor multiple social streams, schedule posts in advance and create a simple analytics data for view
The effectiveness of using thicker bags are:
- It has the lowest environmental impact in terms of any other disposable bag.
- It can be used three to six more times.
- It is environmentally sustainable.
<h3>What is the effect of thicker plastic bags have on the environment?</h3>
The use of plastic bags is known to have some form of detrimental effects on the such as animal choking, pollution, and others.
Conclusively, Note that thicker bags needs a lot of plastic to be able to produce it and it goes to waste even if a person do not use it again.
Learn more about environment from
brainly.com/question/17413226