How do I make this repeat itself?

So, I’m trying to make a simple calculator (I’m new, and I got help from
another forum), but I can’t seem to find anything about how I’m supposed
to make the program repeat if you say yes at the end.

http://pastebin.com/FKTVGZ8c

Wrap the whole thing in a while loop (in this case, the while condition
is at the end, similar to do…while in other languages):
https://gist.github.com/4570115

Hopefully that helps,
Ryan V.

Ryan V. wrote in post #1092842:

Wrap the whole thing in a while loop (in this case, the while condition
is at the end, similar to do…while in other languages):
https://gist.github.com/4570115

Hopefully that helps,
Ryan V.

Thanks.