I don’t know how to do it on a PC other than using alt codes, but on a mac you can just hit option-n and then n again. (And then option-e and a vowel to get a vowel with a forward accent on it, option-u and a vowel to get an umlaut, option-tilde and a vowel to get a backwards accent, etc., etc.)