A robust command-line calculator developed in C, supporting both fundamental arithmetic and advanced mathematical operations with input validation and error handling.
C Advanced Calculator is a lightweight console application designed for performing mathematical calculations efficiently. The project demonstrates core concepts of C programming, including functions, loops, conditional statements, user input validation, and mathematical libraries.
This project was developed as part of Computer Engineering studies and serves as a practical example of structured programming in C.
- ➕ Addition
- ➖ Subtraction
- ✖️ Multiplication
- ➗ Division with zero-check protection
- 🔢 Power calculation
- √ Square root calculation
- 📊 Percentage calculation
- 🧮 Modulus operation
⚠️ Input validation- 📋 Interactive menu-driven interface
- C Programming Language
- Standard C Library
- Math Library (
math.h) - GCC Compiler
C_Advance_Calculator/
│
├── C_Advance_Calculator.c
├── README.md
├── LICENSE
└── screenshots/
gcc C_Advance_Calculator.c -o calculator -lmgcc C_Advance_Calculator.c -o calculator.exe -lm./calculatorcalculator.exe====================================
Advanced C Calculator
====================================
1. Addition
2. Subtraction
3. Multiplication
4. Division
5. Power
6. Square Root
7. Modulus
8. Percentage
9. Exit
This project demonstrates:
- Function-based programming
- Input validation
- Error handling
- Mathematical computations
- Menu-driven console applications
- Modular code organization
Current Version: v1.0.0
This project is licensed under the MIT License.
Abdul Mosawer Wadan
Computer Engineering Student
GitHub: https://github.com/Wadan3
⭐ If you found this project useful, consider starring the repository.
