Answer:
Assuming an upstander is someone that opposes cyberbullying:
(1) Call them out
(2) Report the behavior to proper moderation authority
(3) Tell the person to block messages from the cyberbully
I don't really know what else you want from this.
Cheers.
Required: program to return the largest of three numbers.
pseudocode
input parameters, int A,B,C;
int T; // temporary storage
if (A>B) T=A;
else T=B;
if (T>C) print(T);
else print(C);
Answer:
1) Avoid the perfectionist of trap
2)Banish the negative thoughts
3) Get enough sleep
4) Make sure you are prepared
5) take deep breaths
Explanation:
In my thought it's the answer of this question.
What do you need help with? I’m confused
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