Need more info, like is it a command line or GUI calculator, but there's not much anyone can do for you until you post some of your own code and ask specific questions about how to fix or improve it.