Answer:
This solution is implemented in C++
void makePositive(int arr[]){
int i =0;
while(arr[i]!=0){
if(arr[i]<0){
arr[i] = abs(arr[i]);
}
i++;
}
i = 0;
while(arr[i]!=0){
cout<<arr[i]<<" ";
i++;
}
}
Explanation:
This defines the function makePositive
void makePositive(int arr[]){
This declares and initializes i to 0
int i =0;
The following iteration is repeated until the last element in the array
while(arr[i]!=0){
This checks if current array element is negative
if(arr[i]<0){
If yes, it changes it to positive
arr[i] = abs(arr[i]);
}
The next element is then selected
i++;
}
This sets i to 0
i = 0;
The following iteration prints the updated content of the array
<em> while(arr[i]!=0){
</em>
<em> cout<<arr[i]<<" ";
</em>
<em> i++;
</em>
<em> }
</em>
}
See attachment for full program which includes the main
<span> (keyboards, mice, scanning, computer chips)</span>
Word processing software may be used to create, edit, save, and print documents, among other things. Text within a document may be copied, pasted, moved, and deleted. Text formatting includes font selection, bolding, underlining, and italicizing.
The correct answer for this question is this one
reflect our basic principles." The Constitution party advances a conservative approach to issues and would most likely support policies that <span>reflect our basic principles and as well as respect whatever what we believe in.</span>
Answer: Control
Explanation: Communication channel is the medium created for the process of the communication.These channel let the source to destination communication in a cycle so that message can be send and received respectively.
Control in the branch of communication channel is used for the handling of the communication limit of the message that is being sent and received .It puts a limitation to the extent message can be read, recorded ,movement of resource and other facilities.