Electrical Code Question

Can someone explain electrical code location requirements for:
-Location of light switch in a bathroom—can it be placed on a wall three feet above a bathtub?
-Location of fan switch- can it be placed on a wall three feet above a bathtub?

If not, what are the distance requirements?

Thanks.

By PHfamily |