Answer:
weightEarth = float(input("Enter weight on earth: "))
weightMoon = weightEarth/6
print("Weight on moon:", weightMoon)
Explanation:
You have to convert the string input into a float in order to do calculations with it.
Answer:
A memory address is a unique identifier used by a device or CPU for data tracking.
Answer:
It is any information that is audio or video but not text.
Explanation:
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.
How about you prefer no class