Skip to content

Currency exchange program made using Agile Programming for Unit SOFT2412. Made with Xinning Wu, Nithya Iyengar, and Xiyan Huang.

Notifications You must be signed in to change notification settings

ConnorSapphire/CurrencyExchange-SOFT2412-A1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RUNNING THE PROGRAM

To run this program it is recommended you use the command gradle --console plain run from within the root directory of the project.

You will immediately have access to the following commands:

  • admin <Password> Switch to Admin mode.

  • convert <From Currency (ISO-4217)> <To Currency (ISO-4217)> <Value> Convert the Value from the Currency given by its ISO-4217 code into another Currency given by its ISO-4217 code.

  • table Display a table of the four most popular Currencies and their Exchange Rates.

  • history <Currency Name (ISO-4217)> <Currency Name (ISO-4217)> <Start Date (DD/MM/YYYY)> <End Date (DD/MM/YYYY)> Display the relative Exchange Rate history of two Currencies given by their ISO-4217 code between the Start Date and End Date given.

  • currencies Display a list of all current Currencies by their ISO-4217 codes.

  • help Display a list of all currently available commands with a brief description of each.

  • quit Quit the Currency Converter program.

To switch to access mode, use the Password: password, ie type: admin password.

In this mode you will have access to the following commands:

  • user Switch to User mode.

  • convert <From Currency (ISO-4217)> <To Currency (ISO-4217)> <Value> Convert the Value from the Currency given by its ISO-4217 code into another Currency given by its ISO-4217 code.

  • table Display a table of the four most popular Currencies and their Exchange Rates.

  • history <Currency Name (ISO-4217)> <Currency Name (ISO-4217)> <Start Date (DD/MM/YYYY)> <End Date (DD/MM/YYYY)> Display the relative Exchange Rate history of the Currencies given by their ISO-4217 code between the Start Date and End Date given.

  • add <Currency Name (ISO-4217)> Add the Currency given by its ISO-4217 code to the list of Currencies.

  • update <From Currency (ISO-4217)> <To Currency (ISO-4217)> <Date (DD/MM/YYYY)> <Exchange Rate> Update the Exchange Rate between the two Currencies given by their ISO-4217 codes and include the current date.

  • currencies Display a list of all current Currencies by their ISO-4217 codes.

  • help Display a list of all currently available commands with a brief description of each.

  • quit Quit the Currency Converter program.

TESTING

You may also test the program by running the command: gradle clean test.

About

Currency exchange program made using Agile Programming for Unit SOFT2412. Made with Xinning Wu, Nithya Iyengar, and Xiyan Huang.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages