percentH method

double percentH(
  1. double n
)

Implementation

double percentH(double n) {
  return height * n / 100;
}