Write a BASIC program that accepts mass and volume of a liquid as input from the user. The program should compute and display the density of the liquid.
Answers
Answered by
0
Python Code
mass = float(input(Ënter the mass: ))
volume = float(input(""Enter the volume: "))
density = mass/volume
print("The density of the object is", density)
Similar questions