Answer:
import math
l = float(input("Enter length in cm: "))
l = l / 100;
print("Entered length is " + str(l) + " meters")
area_square = l * l
print("Area of square is " + str(area_square))
area_circle = math.pi * l/2 * l/2
print("Area of circle is " + str(area_circle))
volume_cube = l * l * l
print("Volume of cube is " + str(volume_cube))
Explanation:
*The code is in Python
Ask the user to enter the length in cm
Convert the length to meters and print it
Calculate the area of the square and print it (Since length is equal to a side, the area is length * length)
Calculate the area of the circle and print it (Since length is equal to the diameter, you need to divide it by two to get the radius. The area is pi * length/2 * length/2)
Calculate the volume of the cube and print it (Since length is equal to a side, the volume is length * length * length)
Yes it is safe to tape down cords such as internet cables to the floor
33.33 minutes of video
3 GB already used which means you have 5 GB left, 5GB is the same as 5000 MB
So 5000 MB divided by 150 MB is 33.33 minutes of video that can be stored on the iPhone
Answer:
Local method invocation parameters are passed by reference with the same object. Local innovation having the source code on the form of class and it basically try to invoke various methods by importing in the form of packages.
On the other hand, in remote methods invocation the parameters are passed by the copy when the given parameters are not object class. It basically allow an object that existed in another address capacity. This methods works on the client side transport.