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 πͺπΉ