Answer:
Both male and female cats squat to urinate.
Males and females need neutered and spayed (fixed) so they can't reproduce. This procedure means taking them to the vet.
Male cats spray to mark their territory, and could ruin curtains, leather, shoes, clothing, couches, floors, rugs, tables, and anything you could find in your house. So if you want an inside male cat, get him neutered.