Answer:
Following are the program in the C++ Programming Language.
#include <iostream>
using namespace std;
//define function for swapping
void SwapValues(int* userVal1,int* userVal2){
//set integer variable to store the value
int z = *userVal1;
//interchange their value
*userVal1 = *userVal2;
//interchange their value
*userVal2 = z;
}
//define main method
int main()
{
//declare variables
int x,y;
//get input from the user
cin>>x>>y;
//Call the method to swap the values
SwapValues(&x,&y);
//print their values
cout<<x<<" "<<y;
return 0;
}
<u>Output</u>:
3 8
8 3
Explanation:
<u>Following are the description of the program</u>.
- Firstly, we define required header file and function 'SwapValues()', pass two pointer type integer variables in argument that is 'userVal1' and 'userVal2'.
- Set integer data type variable 'z' and initialize the value of 'userVal1' in it, then initialize the value of 'userVal2' in 'userVal1' and then initialize the value of 'z' in 'userVal2'.
- Finally, define the main method in which we set two integer type variables and get input from the user in it then, call and pass those variables and print it.
False. a placeholder can hold everything
The principle or element of layout design is highlighted in an event poster in option i: The headline.
<h3>What are the elements of page layout?</h3>
The poster is known to be one that often uses a kind of hierarchy and centered text alignment as its element.
Note that it is one whose Lines of use is said to be made up of different kinds of type styles, sizes and others.
The simple elements of an advertising poster is made up of:
1. The headline.
2. The sub-head.
3. The body copy.
4. The caption.
The elements of page layout are visual hierarchy, visual flow, and others. Hence, the principle or element of layout design is highlighted in an event poster in option i: The headline.
Learn more about layout design from
brainly.com/question/2501083
#SPJ1
2^(32-20) - one for the network number - one for the broadcast address = 4,094