gregorian to ethiopian and ethiopian to gregorian calander converter
# 🇪🇹 Ethiopian ↔ Gregorian Calendar Converter (C++)
## 📌 Description
This project is a **C++ console application** that converts dates **between the Ethiopian calendar and the Gregorian calendar**.
It supports **both directions**, handles **leap years**, and displays **proper month names**.
The program is designed for **students, academic projects, and basic calendar system learning**.
## ✨ Features
* Gregorian âžś Ethiopian date conversion
* Ethiopian âžś Gregorian date conversion
* Leap year handling for both calendars
* Ethiopian month name mapping
* Simple console-based user interaction
* Written in **standard C++**
## đź§ How It Works
1. The user selects the conversion type:
* `00` → Gregorian to Ethiopian
* `11` → Ethiopian to Gregorian
2. The program:
* Calculates total days in the year
* Adjusts dates using known calendar offsets
* Applies leap year rules
* Converts results into readable date formats
## 🛠️ Technologies Used
* **Language:** C++
* **Environment:** Console / Terminal
* **Libraries:** ` `, ` `
## ▶️ How to Compile and Run
### Compile
```bash
g++ calendar_converter.cpp -o calendar
```
### Run
```bash
./calendar
```
## đź§Ş Sample Output
```
Enter 00 from gregorian to ethiopian and enter 11 from ethiopian to gregorian
00
Enter the Gregorian day, month, and year respectively:
15 9 2024
Ethiopian Date: 2017 Meskerem 5
## đź“‚ Project Structure
```
Ethiopian-Gregorian-Calendar-Converter/
│── calendar_converter.cpp
└── README.md
## ⚠️ Notes
* This project is for **educational purposes**
* Input validation is minimal
* Some month values (like `00`) are used intentionally in logic
## 🎓 Learning Outcomes
* Understanding calendar systems
* Leap year calculations
* Date arithmetic
* C++ functions and control structures
## 👨‍💻 Author
**Muluken**
IT Student | Ethiopia 🇪🇹