/**
 * This exercise aims to calculate the density of a material given its volume and mass.
 * The formula to calculate density is density = mass / volume.
 *
 * Fill in the missing code to calculate the density.
 *
 * @param volume the volume of the material in cubic meters
 * @param mass the mass of the material in kilograms
 * @return the calculated density in kg/m^3
 */
fun calculateDensity(volume: Double, mass: Double): Double {

    val density = mass / volume  // Fill in the missing code here
    return density
}
/**
 * This exercise aims to calculate the density of a material given its volume and mass.
 * The formula to calculate density is density = mass / volume.
 *
 * Fill in the missing code to calculate the density.
 *
 * @param volume the volume of the material in cubic meters
 * @param mass the mass of the material in kilograms
 * @return the calculated density in kg/m^3
 */
fun calculateDensity(volume: Double, mass: Double): Double {
/**
 * This exercise aims to calculate the density of a material given its volume and mass.
 * The formula to calculate density is density = mass / volume.
 *
 * Fill in the missing code to calculate the density.
 *
 * @param volume the volume of the material in cubic meters
 * @param mass the mass of the material in kilograms
 * @return the calculated density in kg/m^3
 */
fun calculateDensity(volume: Double, mass: Double): Double {

    val density = mass / volume  // Fill in the missing code here
    return density
}