Premium Essay

Currency Conversion

In: Computers and Technology

Submitted By ControlsGeeks817
Words 581
Pages 3
Application-Level Requirements List

1. Get user input

2. Enter amount of foreign currency to be converted

3. Select currency type to be converted to U.S dollars

4. Divide amount of currency by foreign currency rate

Canadian dollars (rate: 1 U.S. dollar = 1.4680 Canadian dollars)

Mexican pesos (rate: 1 U.S. dollar = 9.5085 pesos)

English pounds (rate: 1.6433 U.S. dollars = 1 pound)

Japanese yen (rate: 1 U.S. dollar = 104.9200 yen)

French francs (rate: 1 U.S. dollar = 6.2561 francs)

5. Display conversion results

|Input |Process |Output |
|Amount of foreign currency |get user input |Amount of foreign currency |
|Type of currency to be converted | |Type of currency to be converted |
| | | |
|Foreign currency amount |Divide Currency by foreign |Rate per U.S dollars |
| |currency rate | |
|Currency to be converted |Display foreign currency in|Amount of U.S dollars |
|Currency amount |U.S. dollar | |
|Conversion results | |…...

Similar Documents

Premium Essay

Currency Conversion

...Currency Conversion Design Eliseo M. Ortiz IT/210 March 31, 2013 Murthy Bhetanabhotla Currency Conversion Design Currency Conversion Design Assignment—Hierarchy Chart Currency Conversion Currency Conversion Get_Int_Value Get_Int_Value Display_Menu Display_Menu Display_Results Display_Results Convert_Currency Convert_Currency Currency Conversion Development Assignment—Flowcharts Control Flow Diagram—Main Control Begin Currency Amount Quit ? Thank You Currency to be converted Yes No Currency Rate Display Results End Begin Currency Amount Quit ? Thank You Currency to be converted Yes No Currency Rate Display Results End Control Flow Diagram—Display Menu Begin Currency Amount Valid selection ? Error 4 : Invalid menu selection No Yes End Quit ? Yes Selection is not valid Quit Verified ? Yes Currency Type Currency Converted No Conversion Verified ? No Yes No Begin Currency Amount Valid selection ? Error 4 : Invalid menu selection No Yes End Quit ? Yes Selection is not valid Quit Verified ? Yes Currency Type Currency Converted No Conversion Verified ? No Yes No | Control Flow Diagram—Get_Int_Value Selection is not valid Selection is not valid Selection is not valid Selection is not...

Words: 912 - Pages: 4

Premium Essay

Currency Conversion

...user screen shall have a short description telling the user how to use the program. 4. The calculation of the currency shall be executed only after all the valid input values are provided. 5. The program shall allow the user to clear all input fields and recomplete the calculation 6. Display the MENU for currency conversion 7. Allow user to select from MENU containing list of foreign currencies to be converted into US dollars. 8. Convert the currency amount entered into an equivalent amount of US dollars. 9. Calculate currency conversion using user supplied input values. 10. Display the currency amount entered by the user along with its US dollars equivalent. Input | Process | Output | Menu optionsName:Type:Range: | Display Menu | Menu OptionsName: Currency TypeType: IntegerRange: 1-6 | Menu choice currencyName: International ValueType: RealRange: 0-1,000,000 | Get Foreign Value | Menu choice currencyName: International ValueType: RealRange: 0-1,000,000 | Currency conversion Name: International ValueType: RealRange: 0-1,000,000Name: Currency TypeType: IntegerRange-1-6 | Convert currency | Equivalent US dollarName: Us ValueType: RealRange: > 0 | Name: Currency TypeType: IntegerRange: 1-6Name: International ValueType: RealRange: 0-1,000,000Name: US ValueType: RealRange: >0 | Display Results | Name: Currency TypeType: IntegerRange: 1-6Name: International ValueType: RealRange: 0-1,000,000Name: US ValueType:......

Words: 1321 - Pages: 6

Premium Essay

Currency Conversion Procedure

...Currency Conversion Test Procedure Display Menu Declare as Boolean Set = true While = true Display = International Currency Conversion Program Display = Make a Selection Display = International Currency Types Display = Canadian Dollars Display = Mexican Pesos Display = English Pounds Display = Japanese Yen Display = French Francs Display = Quit Display = Enter a Selection Input Currency Type If Currency Type >= 5 and Currency Type <=25 then Set = false Else if currency Type = 26 Display = Quitting Currency Conversion Display = Error 4 Invalid Menu Selection End Display Menu Display Menu Test Produce As the user is deciding which they would like to select an international currency type. When the user enters a number between 5 and 26 corresponding with a currency type, then the program is set to false. If 26 is selected the program displays “Quitting Currency Conversion.” But if the user does not enter a number between 5 and 26 the program displays “Error 4: Invalid Menu Selection” and the set it true. Test Case 1 Input: user enters 5 for Canadian Dollars Set = false Test Case 2 Input: user enters 6 for Mexican Pesos Set = false Test Case 3 Input: user enters 7 for English Pounds Set = false Test Case 4 Input: use enters 8 for Japanese Yen Set = false Test Case 5 Input: user enters 9 for French Francs Set = false Test Case 6 Input: user enter 10 for Quit Set = false Test Case 7 Input: user enters 11 Output: display “Error......

Words: 1040 - Pages: 5

Premium Essay

It/210 Currency Conversion

...CheckPoint: Interview and Site Visit Preparation 2 Points Each What is the name of the religion you will be studying? Why have you chosen this particular religion? | The religion that I chose is Wicca. The reason that I chose this religion is because my daughter practices this religion, and I find that although I do not believe in in, it is interesting. | How much knowledge do you already have about this religion? | I have a little knowledge of it, but not too much. | Are you having any difficulties finding a place for a site visit or a person to interview? If so, how do you plan to resolve this difficulty? | I have found many sites on this religion, and I have talked to my daughter about it as well. | What do you think will be the most interesting thing about conducting an interview with someone of this faith? | I think the most interesting thing about the interview will be opening up to the facts about the religion and remaining open-minded about it. | What difficulties do you anticipate in conducting an interview with someone of this faith? | Keeping an open mind and trying to understand why she picked this religion to practice. | 1 Point for Each Appropriate Question Create a list of 10 questions you would like to ask during the interview. | 1. I know you do not believe in God, so does that mean you believe in Satan? 2. Do all people who practice Wicca think they are Witches? 3. Why do you cast spells and use potions? Are they for good or evil? ......

Words: 378 - Pages: 2

Premium Essay

Student

...Changing currency from U.S. Dollars to any other currency is necessary and important for individuals and businesses. Following is a program that will do the currency conversions for these businesses or individuals with ease, however, in this paper one can find the behind the scenes programing of such work, which is a bit more detailed than the end user sees. In this paper, one can find instructions on what the end user will need to enter and in which order to enter such information in order to give accurate data output. This will assist in avoiding errors, in order to avoid the garbage in garbage out cliché from occurring to the end user. To avoid this cliché, there is a piece in the instructions and end user prompts, which will identify obvious errors in the process, before finishing the process, which in turn will minimize incorrect data. This step would prompt the end user to review, confirm and correct any information which may look incorrect to the system. One can also find in this paper the examples of how each process works in the background to give accurate results. There will be a total of three artifacts and one set of instructions on how end users must enter data. There will be instructions in programing order, but one can also find following these instructions, charts which may make instructions easier to follow, or at least easier to understand. Currency Conversion Input Data and Output Process | Input | Processes | Output | Select Country | ...

Words: 1710 - Pages: 7

Premium Essay

It 210 Final Project

...5. Offer an option to clear user inputs and start over Input-Process-Output Chart |Input |Process |Output | |Currency Type |Get user input |Text=Currency Type | |Currency Amount | |Float=Currency Amount | |Rate | |Float=Rate | |Currency Type |Enter Desired Currency Type|Text=Currency Type | |Currency Amount |Enter Dollar Amount |Float=Dollar Amount | |Foreign Value |Convert Currency |Float=U.S. Value | |Currency Amount |Display Results |Float=Dollar Amount | |Currency Type | | | |Rate | | ...

Words: 1183 - Pages: 5

Premium Essay

It210 Week 6 Assignment

...Currency Conversion Test Cases Display Menu Valid Menu Selection or Errors | Inputs | Expected Output or Message | Canadian | Menu Selection = 1 | Do you want to continue with the conversion Yes or No?Currency_Type = 1 | Costa Rica | Menu Selection=1 | Do you wish to continue with this conversion yes or no?Currency Type= 1 | Australian | Menu Selection= 2 | Do you wish to continue with this conversion yes or no?Currency Type= 2 | Europe | Menu Selection= 3 | Do you wish to continue with this conversion yes or no?Currency Type= 3 | Singapore | Menu Selection= 4 | Do you wish to continue with this conversion yes or no?Currency Type= 4 | Colombian | Menu Selection= 5 | Do you wish to continue with this conversion yes or no?Currency Type= 5 | Exit | Menu Selection= 6 | Are you sure you would like to exit the program? | India | Menu Selection= 1 | The Country entered is invalid | Jupiter | Menu Selection= 2 | The Country entered is invalid | Peru | Menu Selection= 3 | The Country entered is invalid | Get International Values Valid International Values | Input | Expected Output | 100 CAD | 100.00 | International Value = 100 | 10000 CRC | 10000.00 | International Value=10000 | 25 AUD | 25.00 | International Value=25 | 2000 EUR | 2000.00 | International Value=2000 | 75 SGD | 75.00 | International Value= 75 | 6000 COP | 6000.00 | International Value=6000 | 2 CRC | 20000.00 | International Value=20000 | 60 AUD | 60.00 |......

Words: 704 - Pages: 3

Premium Essay

Hierarchy Chart It210

...Axia College Material Appendix H Ray Greene IT210 Currency Conversion Design Assignment—Hierarchy Chart Complete a hierarchy chart for the application above by typing into the textboxes below. Part II Axia College Material Appendix I Ray Greene IT210 Currency Conversion Development Assignment—Flowcharts Complete the flowcharts for the assignment above by typing into the textboxes below. Control Flow Diagram—Main Control [pic] Control Flow Diagram—Display Menu | | |[pic] | Control Flow Diagram—Get_Int_Value | | |[pic] | Control Flow Diagram—Convert Currency | | |[pic] | Control Flow......

Words: 401 - Pages: 2

Premium Essay

Science

...Associate Program Material Appendix A Final Project Overview and Timeline Final Project Overview The final project consists of a currency conversion application. This application—similar to simple, practical programs on many travel or financial websites—includes the following elements: • Complete requirements analysis • Design • Verification • Validation and test documentation The currency conversion application is a menu-driven program that allows users to select one of five international currency types, input the amount of a foreign currency, and convert the foreign currency to dollars. The program displays the equivalent dollar amount and returns the user to the menu until he or she enters another conversion or quits the program. International currency type (menu selection) • Canadian dollars (rate: 1 U.S. dollar = 1.4680 Canadian dollars) • Mexican pesos (rate: 1 U.S. dollar = 9.5085 pesos) • English pounds (rate: 1.6433 U.S. dollars = 1 pound) • Japanese yen (rate: 1 U.S. dollar = 104.9200 yen) • E. U. euro (rate: 1 U.S. dollar = 0.7676 Euros) Final Project Timeline You should budget your time wisely and work on your project throughout the course. As outlined below, some CheckPoints and assignments in the course are designed to assist you in creating your final project. If you complete your course activities and use the feedback provided by the instructor, you will be on the right track to successfully complete your......

Words: 302 - Pages: 2

Free Essay

It210 Week 2 Appendix F

...type and amount of currency to be converted. 2. The program will prompt the user to input the type of the destination currency. 3. The program will locate and display the current currency rates for types listed by the user. 4. The program will perform calculations to convert value from one type of currency to another type of currency indicated by the user. 5. The program will display the calculated total amount of the currency desired using the total of the original currency. 6. The program will prompt the user to indicate if another conversion is desired. Input-Process-Output Chart Complete the following input-process-output chart for the application using a structured programming approach. |Input |Process |Output | |Origin currency |Get user input. |Origin currency | |Origin currency amount | |Origin currency amount | |Destination currency |Get user input. |Destination currency | |Value of Destination currency |Find origin rates. |Display value of destination currency | |Value of Origin currency ......

Words: 262 - Pages: 2

Premium Essay

Business

...used to minimize the risk of foreign exchange. The scenario is about the two multinational airlines. One is United States Airline and the other is Lufthansa (German) airlines. Both of them are exposed to foreign exchange risks as their transactions is in different currencies. In the scenario, U.S airlines has order from France the Airbus so, they have to pay France in Euro currency. However, United States airlines report their financials in Dollars. So, any slight change in Euro will impact the profits of United States Airlines. On the other hand, we have the case of Lufthansa Airlines which is purchasing a Boeing from USA and their reporting currency is Euro. So, both of the airlines are exposed to risks in the scenarios. This paper will address the foreign exchange theories involved in the case and strategies that will help these two airlines minimize their risk of currency fluctuations. The paper will also show calculations and the instruments used to minimize foreign exchange risks and calculating profits. Analysis of Foreign Exchange market theories in the scenario Foreign exchange market is the one which involves foreign currencies like euro, pounds or yen and it the one that is traded from local currency for e.g. the dollar. The network of foreign exchange is a decentralized one and is not in a centralized location. It is nevertheless integrated highly with the modern telecommunications and Information technology (Hodrick, 2014). The foreign exchange market......

Words: 1904 - Pages: 8

Premium Essay

Conersion

...CONVERSION: Main Module Declare selection as integer Declare currency type as integer Declare international value as real Declare US value as real Do while user wants to continue Call display Menu Call get international value Call convert currency Call display results End while Print exit message End main module Display Menu Declare continue as Boolean Set continue = true While continue = true Display "Welcome to the international currency conversion program" Display "Please make a selection" Display "International Currency Types:" Display "1: Canadian Dollars" Display "2: Mexican Pesos" Display "3: English Pounds" Display "4: Japanese Yen" Display "5: French Francs" Display "6: Quit" Display "Enter a selection: "; Input currency type If currency type >= 1 and currency type <= 5 then Set continue = false else if currency type = 6 Display “Quitting Currency Conversion” continue = false else Display "Error 4: Invalid menu selection." continue = true end if end While End Display Menu Get International Value Declare value as integer Declare continue as Boolean Set continue = true While continue = true Display "Enter a currency value (positive number):" Input international value if international value > 0 and international value <=(NNN) NNN-NNNNthen continue = false else Display "Error 1: Invalid input--Negative Number" continue = true end if end while End Get International......

Words: 892 - Pages: 4

Premium Essay

It240 Week 6 Assignment

...Associate Program Material Appendix K Currency Conversion Peer Review Design Inspection Report |Programmer’s Name: |Ken | |Date of Inspection |4/1/2012 | |Inspector’s Name: |Ken | Use the following criteria to evaluate the Currency Conversion Test Procedure. If the answer to the item question is yes, place an X next to that item under the Yes column. If the answer is no, add details next to that item under the Comments column. | |Yes |Item |Comments | | |X |Is the problem description clear, concise, and accurate? | | | |X |Are the inputs to the program identified? | | | |X |Are the outputs to the program identified? | | | |X |Does the test input result in the expected output? | | List of Defects Identify defects by checklist number and observed error, but do not include......

Words: 399 - Pages: 2

Premium Essay

Test Cases and Expected Results

...CurrencyType = 1 (Canadian) Expected Output: “Do you want to continue with the conversion, Y = Yes, N = No” CurrencyType = 1 Test Case 2: Valid CurrencyType Input: CurrencyType = 2 (Mexican) Expected Output: “Do you want to continue with the conversion, Y = Yes, N = No” CurrencyType = 2 Test Case 2: Invalid CurrencyType Input: CurrencyType = 0 (Invalid Currency) Expected Output: Cannot continue conversion, invalid currency type Currency type = 0 2. Test Cases for Get Input Module Test Case 1: Valid CurrencyValue Input: CurrencyValue = 1 (Canadian) Expected Output: “How much of this currency is there?” Test Case 2: Invalid CurrencyValue Input: CurrencyValue = 2 (Mexican) Expected Output: “How much of this currency is there?” Test Case 1: Conversion #1 Input: CurrencyType = 1 (Candian) CurrencyValue = 100 Expected Output: “100 Canadian dollars is equal to 95 us dollars.” Test Case 2: Conversion #2 Input: CurrencyType = 2 (Mexican) CurrencyValue = 500 Expected Output: “500 Mexican Pesos is equal to 37.490 US dollars” 3. Test Cases for Display Results Module Test Case 1: Results #1 Input: Nation = Canadian Currency = Canadian Dollar CurrencyValue = 100 USDollars = 95 Expected Output: “100 Canadian Dollars is equal to 95 U.S. Dollars” Test Case 2: Results #2 Input: Nation = Mexico Currency = Mexican Pesos CurrencyValue = 500 USDollars =......

Words: 258 - Pages: 2

Premium Essay

It 210 Final

...IT/210 Final Project Currency Consolidation Requirements. Problem: Converting Currency A currency conversion application in a menu based system allowing users to select one of five set currencies to convert to and from the US dollar. The program will display the amount and will loop back to the beginning to allow another conversion or termination of the program. Currency Selections Canadian dollars (1US = 1.468 Canadian) Mexican pesos (1US = 9.5085 Pesos) English Pounds (1US = .66 Pounds) Japanese yen (1US = 104.92 yen) French francs (1US = 6.2561 Francs) Application-Level Requirements List 1. There should be a series of screens, in the application, that will help the user to input specified information. 2. Include general information and the title on the first screen 3. There should be explanatory material or external documentation. 4. Comments should be included in the program because this will allow other programmers to follow and track what has been done. 5. Should include the ability to clear the inputs and start the calculations over (just in case there are errors) Input process and output chart. INPUT | PROCESS | OUTPUT | Menu Options | Display Menu | Menu Options | Menu ChoiceCurrency | Get User Input | Menu choiceCurrency | CurrencyConversion formula | Convert Currency | Equivalent US dollar | Hierarchy Chart Main Module Main......

Words: 1021 - Pages: 5