hanonLegatoScaleLeftStaff function

int hanonLegatoScaleLeftStaff(
  1. int k
)

A pauta da esquerda: fá, sol da 15.ª à 34.ª (o pico fica na de sol) e fá no fim.

Implementation

int hanonLegatoScaleLeftStaff(int k) => k >= 15 && k <= 34 ? 1 : 2;