Got it to work. Here's what I did:
Create a script called whatever. Simply put the following in it:
./<name of divide by zero program>
That's it. No shebang line at the beginning or else it doesn't work. Apparently, this is a whole different type of shell that is running when you run it with a command using the -e or -x option. Then on the interactive shell, type:
gnome-terminal -x ./<whatever your small script is called>
Now it prints the floating point exception.
Hope this helps someone else down the road.