/**
 * Given the dividends and the earnings, calculate the dividend ratio.
 */
fun calculateDividendRatio(dividends: Float, earnings: Float): Float {

    val dividendRatio = dividends / earnings
    return dividendRatio
}
/**
 * Given the dividends and the earnings, calculate the dividend ratio.
 */
fun calculateDividendRatio(dividends: Float, earnings: Float): Float {
/**
 * Given the dividends and the earnings, calculate the dividend ratio.
 */
fun calculateDividendRatio(dividends: Float, earnings: Float): Float {

    val dividendRatio = dividends / earnings
    return dividendRatio
}