/**
 * This function calculates the correct exposure settings for a given scene
 */
fun calculateExposure(aperture: Double, shutterSpeed: Double, ISO: Int): String {

    var exposure = ""

    if (aperture >= 2.8 && aperture <= 5.6) {
        if (shutterSpeed >= 1.0 / 60 && shutterSpeed <= 1.0 / 125) {
            if (ISO == 100 || ISO == 200) {
                exposure = "Correct exposure"
            } else {
                exposure = "Incorrect ISO"
            }
        } else {
            exposure = "Incorrect shutter speed"
        }
    } else {
        exposure = "Incorrect aperture"
    }

    return exposure
}
/**
 * This function calculates the correct exposure settings for a given scene
 */
fun calculateExposure(aperture: Double, shutterSpeed: Double, ISO: Int): String {
/**
 * This function calculates the correct exposure settings for a given scene
 */
fun calculateExposure(aperture: Double, shutterSpeed: Double, ISO: Int): String {

    var exposure = ""

    if (aperture >= 2.8 && aperture <= 5.6) {
        if (shutterSpeed >= 1.0 / 60 && shutterSpeed <= 1.0 / 125) {
            if (ISO == 100 || ISO == 200) {
                exposure = "Correct exposure"
            } else {
                exposure = "Incorrect ISO"
            }
        } else {
            exposure = "Incorrect shutter speed"
        }
    } else {
        exposure = "Incorrect aperture"
    }

    return exposure
}