Skip to contents

Calculate instructor pay per person per class type

Usage

calculate_instructor_pay(
  hourly_rate,
  class_type,
  number_of_courses,
  instructor
)

Arguments

hourly_rate
  • hourly pay rate

class_type
  • class type. One of "member" or "public".

number_of_courses
  • number of courses taught by a given instructor

instructor
  • name of instructor

Value

numeric