Console Calculator in C

Console Calculator in C

This project is a console-based calculator written in C, originally developed as a way to strengthen my skills in input/output handling, control structures, and basic memory management. Over time, I extended its functionality to support a broader range of operations and improve the user experience.

  • Implements basic arithmetic operations as well as powers, roots, and trigonometric functions (sine and cosine).
  • Includes support for factorials, reuse of the previous result, and a history log of the last five results.
  • Features robust input validation and buffer management to prevent crashes or unexpected behavior.

This project gave me practical experience with procedural programming, function design, and error handling in a low-level environment. It also helped me build a strong foundation for more advanced programming work in C and other languages.

Possible Future Improvements:

  • Add tangent, logarithmic, and exponential functions
  • Export result history to a text file
  • Develop a GUI version in C++ or Python
GitHub Page
Contact me!
LinkedInBehance