4/1/2023 0 Comments Fincalc 2 answers![]() ![]() Here is what a typical use of the program could look like: Currencies using spaces as thousands separators are also not supported, as there is no way to distinguish between a thousands separator and a separator of arguments. Commas are also removed, as they are assumed to be thousands separators and decimal points are assumed to be represented by a period, so any currencies using commas as decimals points or periods as thousands separators are not supported. For exchange rates and currency amounts, any special characters such as dollar signs are removed prior to processing. For currencies, only three letter currency ISO Codes can be entered. Both the username and password are case sensitive and have no requirement for length. ![]() Usernames must start with a letter and cannot have special characters in them. transfer is used to transfer money from a user's own account to another account. SUB is used to withdraw from a user's own account. ADD is used to deposit into a user's own account. BAL is used to check the user's account balance. Other commands are accessible to all accounts, but the admin needs to specify the account to manipulate with an additional parameter. USERS is used to see the list of all usernames. ADDUSER and DELUSER allow the admin to add and delete users. MAINT is used to enter in currency exchange data. Several commands are only accessible by the admin account. Once logged in, type help to see a list of commands. The credentials for the management account are admin for the username and admin for the password. Once the application has started, you will need to login. You may get an error with the javac command on Windows, in which case you need to set the path variable using set path=%path% C:\Program Files\Java\jdk1.8.0_131\bin or wherever you have the JDK installed. Then open up your command line prompt and cd into the src folder. Otherwise, if you have JDK installed, you should download the src folder from the repository. The easiest way to run this program is to clone this repository to your favorite Java IDE, such as IntelliJ IDEA, and run main.java. FinCalc 2.0 is a financial calculator capable of allowing multiple users to add and subtract money from their own accounts, as well as transfer money to other accounts. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |