BASIC programs for production and operations management