Yeah, unless you have to follow some standards about how to write it, pseudo code can be anything as long as they represent actual steps you would take in a real programming language.