Find the slope of a line that is perpendicular to a line whose slope is

(1) 0
(2) has no slope.

TIA

(1) infinity (x = constant)

(2) y = constant is perpendicular to any line with infinite slope.