exercism.org/lua/cars-assemble/cars-assemble.lua
2024-03-24 18:37:22 +01:00

18 lines
570 B
Lua

local cars = {}
-- returns the amount of working cars produced by the assembly line every hour
function cars.calculate_working_cars_per_hour(production_rate, success_rate)
-- calculate_working_cars_per_hour body
end
-- returns the amount of working cars produced by the assembly line every minute
function cars.calculate_working_cars_per_minute(production_rate, success_rate)
-- calculate_working_cars_per_minute body
end
-- returns the cost of producing the given number of cars
function cars.calculate_cost(cars_count)
-- calculate_cost body
end
return cars