/**
 * Given the number of boards available, the length of each board, and the length of each cut,
 * calculate the total number of equal cuts that can be made.
 *
 * @param numberOfBoards The total number of boards available.
 * @param boardLength The length of each board.
 * @param cutLength The length of each cut to be made.
 * @return The total number of equal cuts that can be made.
 */
fun calculateCuts(numberOfBoards: Int, boardLength: Float, cutLength: Float): Int {

    // Calculate the total length of all the boards combined
    val totalBoardLength = numberOfBoards * boardLength

    // Calculate the total number of cuts that can be made without any leftover
    val perfectCuts = (totalBoardLength / cutLength).toInt()

    // Calculate the leftover length after making perfect cuts
    val leftoverLength = totalBoardLength % cutLength

    // Calculate the number of additional cuts that can be made from the leftover length
    val additionalCuts = (leftoverLength / cutLength).toInt()

    // Return the total number of perfect cuts plus additional cuts
    return perfectCuts + additionalCuts
}
/**
 * Given the number of boards available, the length of each board, and the length of each cut,
 * calculate the total number of equal cuts that can be made.
 *
 * @param numberOfBoards The total number of boards available.
 * @param boardLength The length of each board.
 * @param cutLength The length of each cut to be made.
 * @return The total number of equal cuts that can be made.
 */
fun calculateCuts(numberOfBoards: Int, boardLength: Float, cutLength: Float): Int {
/**
 * Given the number of boards available, the length of each board, and the length of each cut,
 * calculate the total number of equal cuts that can be made.
 *
 * @param numberOfBoards The total number of boards available.
 * @param boardLength The length of each board.
 * @param cutLength The length of each cut to be made.
 * @return The total number of equal cuts that can be made.
 */
fun calculateCuts(numberOfBoards: Int, boardLength: Float, cutLength: Float): Int {

    // Calculate the total length of all the boards combined
    val totalBoardLength = numberOfBoards * boardLength

    // Calculate the total number of cuts that can be made without any leftover
    val perfectCuts = (totalBoardLength / cutLength).toInt()

    // Calculate the leftover length after making perfect cuts
    val leftoverLength = totalBoardLength % cutLength

    // Calculate the number of additional cuts that can be made from the leftover length
    val additionalCuts = (leftoverLength / cutLength).toInt()

    // Return the total number of perfect cuts plus additional cuts
    return perfectCuts + additionalCuts
}