Answer:
d
Explanation:
salak sensin kolay gelsin
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
If the question is true or false, it is <u>false</u>. Also assuming you are referring to Excel or similar spreadsheet programs.
The European plug takes up 220 volts while the American one takes 110 volts.
I actually have this problem all the time. Rarely any of my questions get answered and I see this happening to other people all the time. It's crazy.