Skip to content

Wadan3/C_Advance_Calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C Build

🧮 C Advanced Calculator

C CLI License

A robust command-line calculator developed in C, supporting both fundamental arithmetic and advanced mathematical operations with input validation and error handling.


📖 Overview

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.


✨ Features

  • ➕ Addition
  • ➖ Subtraction
  • ✖️ Multiplication
  • ➗ Division with zero-check protection
  • 🔢 Power calculation
  • √ Square root calculation
  • 📊 Percentage calculation
  • 🧮 Modulus operation
  • ⚠️ Input validation
  • 📋 Interactive menu-driven interface

🛠 Technologies Used

  • C Programming Language
  • Standard C Library
  • Math Library (math.h)
  • GCC Compiler

📂 Project Structure

C_Advance_Calculator/
│
├── C_Advance_Calculator.c
├── README.md
├── LICENSE
└── screenshots/

🚀 Compilation

Linux / macOS

gcc C_Advance_Calculator.c -o calculator -lm

Windows (MinGW)

gcc C_Advance_Calculator.c -o calculator.exe -lm

▶️ Running the Program

Linux / macOS

./calculator

Windows

calculator.exe

📷 Sample Output

====================================
       Advanced C Calculator
====================================

1. Addition
2. Subtraction
3. Multiplication
4. Division
5. Power
6. Square Root
7. Modulus
8. Percentage
9. Exit

📷 Screenshot

C Advanced Calculator

🎯 Learning Objectives

This project demonstrates:

  • Function-based programming
  • Input validation
  • Error handling
  • Mathematical computations
  • Menu-driven console applications
  • Modular code organization

📦 Release

Current Version: v1.0.0


📜 License

This project is licensed under the MIT License.


👨‍💻 Author

Abdul Mosawer Wadan

Computer Engineering Student

GitHub: https://github.com/Wadan3


⭐ If you found this project useful, consider starring the repository.

About

Advanced command-line calculator written in C, featuring arithmetic, power, square root, percentage, and modulus operations with robust input validation.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages