Here you go plz mark brainlist
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
Answer:
I think the answer is D but please let me know if i am wrong
Explanation:
Answer:
Greg can see previews of his ad in the Preview tab of his Google My Business account.
Google My Business is a free tool for businesses to manage their online existence across Google including Search and Maps. It also provides them to edit their business information which helps customers to find their business. They can also find how many customers searched for their business.
So once Greg's ad has been officially accepted, he can enter the specific keywords he’s targeting to have a generic view of the ad in the browser. Google gives examples of desktop ads using the keywords selected in the campaign to make a general preview. As Greg types his URL, headline, and description, a generic preview of mobile and desktop versions of his ad will show up.