One way around this is to enclose the code in a <textarea>
To do this in Blogger, switch to the HTML view of your post and find where you want to display the code snippet.
insert a <textarea cols="70" rows="1"> tag followed by your code string and completed by the </textarea> tag so your post looks like this ...
Another way is to replace all actual < and > characters with their ASCII code equivalents < ; and > ; or < ; and > ; so your post looks like this ...