If you have a laptop then you should know how to type ñ in laptop using shortcut keys it’s quite simple you just have to hold the ALT key and press 164 or 165 the letter ñ will be displayed. There is another option that you can try by just copying the letter ñ and pasting it to your documents.
Read more information - https://techquerry.com/how-to-type-enye/