Answer:
c. double triple(float n) { return (3 * n); }
Explanation:
In option a print is used to print integer.While printf is used in C to print something.
In option b there is no * operator between s s s it should be s*s*s.So it will give error.
In option d there is also no multiply operator * in between 3.14 2 r it should be 3.14*2*r.
So we can say that option c is error free.
Answer:
def power(base, expo):
if expo == 0:
return 1
else:
return base * power(base, expo-1)
Explanation:
*The code is in Python.
Create a method called power that takes base and expo as parameters
Check if the expo is equal to 0. If it is return 1 (This is our base case for the method, where it stops. This way our method will call itself "expo" times). If expo is not 0, return base * power(base, expo-1). (Call the method itself, decrease the expo by 1 in each call and multiply the base)
That statement is true.
Ladders commonly used to do a couple of construction activities in a higher region of a building or area.
If this equipment is not used properly, it could potentially caused fatal accidents for the people on the site
Answer:
4. A Web server has been specified.
Explanation:
End users have complained that when they click a link on your company's Website, the wrong client loads. You review the page with the suspect link and find the following HTML code:
To begin an FTP session, click the following link:
FTP Session
The problem is that Web server has been specified.