c program calculator