A very simple C calculator