Skip to content

Themarys24/currency-converter

Repository files navigation

πŸ’± Currency Converter

A simple currency converter in Java, with API integration [ExchangeRate-API] (https://www.exchangerate-api.com/) to fetch real-time exchange rates.
This project is a practical exercise in API consumption, JSON manipulation, and flow control with switch-case.


πŸš€ Features

*Conversion between the following currencies:

-Dollar (USD) ↔ Brazilian Real (BRL)

-Chinese Yuan (RMB/CNY) ↔ Swedish Krona (SEK)

-Brazilian Real (BRL) ↔ Chinese Yuan (CNY)

-Brazilian Real (BRL) ↔ Swedish Krona (SEK)

--Exchange rates automatically fetched from an external API

--Input validation and error handling

--Text-based interface in the terminal


🧰 Technologies Used

##Java 17+

-Public exchange rate API (ExchangeRate-API)

-org.json library for handling JSON data

-Git for version control


##πŸ“¦ How to Run the Project

  1. Clone the repository:
git clone https://github.com/your-username/currency-converter.git
cd currency-converter
  1. Open the project in your preferred IDE (e.g., IntelliJ IDEA, Eclipse).

  2. Make sure you have Java 17 or higher installed.

  3. Add the org.json library to your project. You can download it here or add it via Maven/Gradle.

  4. Run the CurrencyConverterMain class to start the application.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages