Answer:
long power(int i)
{
return pow(2,i);
}
Explanation:
The above written function is in C++.It does not uses loop.It's return type is long.It uses the function pow that is present in the math library of the c++.It takes two arguments return the result as first argument raised to the power of second.
for ex:-
pow(3,2);
It means 3^2 and it will return 9.
An application used to access and view websites
Answer:
Code is in the attached screenshot.
Explanation:
Assumed it was written in Java based on your other question asked.
If you observe closely, you may see that these stars are shown only against some slides and not all of them.
The stars are just an indication that the particular slide has custom animation. That was you can quickly see at a glance if a slide has content that is animated.
The same star symbol is also shown when the slide itself has any slide transition set.