define a function getlength() that takes one integer parameter passed by reference as total centimeters and two integer parameters as meters and centimeters. if both meters and centimeters are non-negative, the function computes total centimeters and returns true. otherwise, the function returns false without updating totalcentimeters. ex: if the input is 20 -1, then the output is: invalid. total centimeters: 0 notes: totalcentimeters is computed as (meters * 100) centimeters. a non-negative number is greater than or equal to 0.