Computer Science, asked by lotussujith1610, 6 months ago

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 faseelaandru
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