Logo Lanfrica

MulukenAsefa/MAT.calander

Record type:

software
Creator:
Mul
Host:
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 πŸ‡ͺπŸ‡Ή

Languages