scientific calculator in c