Skip to content

admin-sauce/currency-converter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Currency Conversion Project

This Python project allows users to convert between different currencies such as USD, CAD, EUR, INR, AUD, and CNY. The program runs in a loop, continuously accepting user input for currency conversion until the user decides to exit.

Features

  • Accepts input for the source currency (USD, CAD, EUR, INR, AUD, CNY)
  • Converts the entered currency to the desired target currency (USD, CAD, EUR, INR, AUD, CNY).
  • The program runs in a while loop, allowing continuous currency conversion.
  • To exit the program, the user can type "q".

Usage

  • Run the Python script.
  • Enter the source currency (USD, CAD, EUR, INR, AUD, CNY).
  • Enter the target currency for conversion.
  • To exit the program, type "q".

Supported Currencies

The program supports the following currencies for conversion:
"USD" - United States Dollar
"CAD" - Canadian Dollar
"EUR" - Euro
"INR" - Indian Rupee
"AUD" - Australian Dollar
"CNY" - Chinese Yuan

How to Run:

You can run the program by executing the main script

python currency_converter.py

Example

Here's an example of how the program works:

Enter the Currency (q for quit): inr
AUD: 0.0182171364
CAD: 0.0162872486
CNY: 0.0858933371
EUR: 0.0111351716
USD: 0.0119846407

Acknowledgments

Thanks to Free Currency API for providing currency exchange rate data.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages