/**
 * A chef wants to bake a certain number of cookies using multiple trays. Each tray can hold a certain number of cookies.
 * The chef needs to set the oven temperature correctly for baking the cookies.
 *
 * @param numTrays The number of trays available for baking cookies.
 * @param numCookiesPerTray The number of cookies each tray can hold.
 * @param ovenTemperature The desired oven temperature in degrees Celsius.
 * @return A message indicating the oven temperature set for baking the cookies.
 */
fun bakeCookies(numTrays: Int, numCookiesPerTray: Int, ovenTemperature: Int): String {

    var trayCounter = 1
    var cookieCounter: Int

    while (trayCounter <= numTrays) {
        cookieCounter = 1

        while (cookieCounter <= numCookiesPerTray) {
            println("Baking cookie $cookieCounter/$numCookiesPerTray")
            cookieCounter++
        }

        trayCounter++
    }

    return "Oven temperature set to $ovenTemperature degrees Celsius."
}
/**
 * A chef wants to bake a certain number of cookies using multiple trays. Each tray can hold a certain number of cookies.
 * The chef needs to set the oven temperature correctly for baking the cookies.
 *
 * @param numTrays The number of trays available for baking cookies.
 * @param numCookiesPerTray The number of cookies each tray can hold.
 * @param ovenTemperature The desired oven temperature in degrees Celsius.
 * @return A message indicating the oven temperature set for baking the cookies.
 */
fun bakeCookies(numTrays: Int, numCookiesPerTray: Int, ovenTemperature: Int): String {
/**
 * A chef wants to bake a certain number of cookies using multiple trays. Each tray can hold a certain number of cookies.
 * The chef needs to set the oven temperature correctly for baking the cookies.
 *
 * @param numTrays The number of trays available for baking cookies.
 * @param numCookiesPerTray The number of cookies each tray can hold.
 * @param ovenTemperature The desired oven temperature in degrees Celsius.
 * @return A message indicating the oven temperature set for baking the cookies.
 */
fun bakeCookies(numTrays: Int, numCookiesPerTray: Int, ovenTemperature: Int): String {

    var trayCounter = 1
    var cookieCounter: Int

    while (trayCounter <= numTrays) {
        cookieCounter = 1

        while (cookieCounter <= numCookiesPerTray) {
            println("Baking cookie $cookieCounter/$numCookiesPerTray")
            cookieCounter++
        }

        trayCounter++
    }

    return "Oven temperature set to $ovenTemperature degrees Celsius."
}