There are some things wrong with you program:
float do0p(char op, float num1, float num2) {
This function is made inside of main() which is impossible.
I think you mean switch() ?
I think you mean '+' instead of +
Same thing with the other chars.
you really should use code-indention, this is very hard to read.
Last edited by Nick Evan; Mar 31st, 2010 at 9:16 am.
Moderator
Featured Poster
Reputation Points: 4142
Solved Threads: 394
Industrious Poster
Offline 4,132 posts
since Oct 2006