/**
 * Calculate the fuel usage of an aircraft based on its fuel capacity and the distance traveled.
 * The fuel usage is determined by dividing the distance traveled by the fuel capacity.
 * Return the result as a floating-point number.
 *
 * @param fuelCapacity The fuel capacity of the aircraft.
 * @param distanceTraveled The distance traveled by the aircraft.
 * @return The fuel usage as a floating-point number.
 *
 * Example:
 * fuelCapacity: 12000   distanceTraveled: 5000
 * fuel usage = 5000 / 12000 = 0.4166666666666667
 * Return 0.4166666666666667
 */
fun calculateFuelUsage(fuelCapacity: Int, distanceTraveled: Int): Double {

    val fuelUsage = distanceTraveled.toDouble() / fuelCapacity.toDouble()
    return fuelUsage
}
/**
 * Calculate the fuel usage of an aircraft based on its fuel capacity and the distance traveled.
 * The fuel usage is determined by dividing the distance traveled by the fuel capacity.
 * Return the result as a floating-point number.
 *
 * @param fuelCapacity The fuel capacity of the aircraft.
 * @param distanceTraveled The distance traveled by the aircraft.
 * @return The fuel usage as a floating-point number.
 *
 * Example:
 * fuelCapacity: 12000   distanceTraveled: 5000
 * fuel usage = 5000 / 12000 = 0.4166666666666667
 * Return 0.4166666666666667
 */
fun calculateFuelUsage(fuelCapacity: Int, distanceTraveled: Int): Double {
/**
 * Calculate the fuel usage of an aircraft based on its fuel capacity and the distance traveled.
 * The fuel usage is determined by dividing the distance traveled by the fuel capacity.
 * Return the result as a floating-point number.
 *
 * @param fuelCapacity The fuel capacity of the aircraft.
 * @param distanceTraveled The distance traveled by the aircraft.
 * @return The fuel usage as a floating-point number.
 *
 * Example:
 * fuelCapacity: 12000   distanceTraveled: 5000
 * fuel usage = 5000 / 12000 = 0.4166666666666667
 * Return 0.4166666666666667
 */
fun calculateFuelUsage(fuelCapacity: Int, distanceTraveled: Int): Double {

    val fuelUsage = distanceTraveled.toDouble() / fuelCapacity.toDouble()
    return fuelUsage
}