Janani-Balasooriya / Java-Beginner-Projects

Explore a variety of simple, hands-on Java projects ideal for beginners. Sharpen your coding skills while creating command-line applications, games, and practical tools in Java. Perfect for those new to programming or looking to learn Java.
24 stars 21 forks source link

Complete Currency Converter project #8

Closed Janani-Balasooriya closed 1 year ago

Janani-Balasooriya commented 1 year ago

A simple command-line currency converter implemented in Java. Convert an amount from one currency to another using exchange rates.

Features Convert an amount from one currency to another. Supports multiple currency pairs (e.g., USD to EUR, USD to INR). Fixed exchange rates for demonstration (if can fetch exchange rates from an external source/api).

SumitMangrati commented 1 year ago

hey can you assign me this task ill get it done

Janani-Balasooriya commented 1 year ago

Hey @SumitMangrati! Sure, I'll assign you. Go ahead!

SumitMangrati commented 1 year ago

@Janani-Balasooriya I have a doubt, API for currencyExchange rate needs monthly billing subscription. What should i do?

Janani-Balasooriya commented 1 year ago

@SumitMangrati no need to worry about the API subscription. For this Java command-line program, we can simply use fixed data for currency exchange rates.

For example: double usdToEurRate = 0.85; double usdToInrRate = 74.0;