Answer:
Written in C++
void number(int n){
if(n%2 == 0)
cout<<2 * n;
else
cout<<5 * n;
}
Explanation:
The programming language is not stated.
However, I answered using C++
This line defines the function as void
void number(int n){
This line checks if the number is even
if(n%2 == 0)
If yes, it doubles the number and prints the output
cout<<2 * n;
If otherwise,
else
It multiplies the number by 5 and prints the output
cout<<5 * n;
}
To call the function from main, use:
number(n);
Note than n must be declared as integer
See attachment
~Hello there! ^_^
Your answer: Hordes of surreptitiously infiltrated computers, linked and controlled remotely, also known as zombie networks are known as..?
Your answer: Hordes of surreptitiously infiltrated computers, linked and controlled remotely, also known as zombie networks are known as botnets.
Hope this helps~
Answer:
Rob lox, Sub nautica, Phasmo phobia, Albion Online, fnf.
Explanation:
On an unweighted scale, a grade of A is worth 4 points and B. 3 points, C. 2 points, and D 1 point. E. 0 points. If you're trying to calculate your gpa then simply add all of those together! BAM