Preview

Currency Conversion

Good Essays
Open Document
Open Document
602 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Currency Conversion
Application-Level Requirements List
1. The program screen should display the title of the program with a welcome.
2. A description of how the program will be used.
3. User has 5 currencies (Canadian dollars, Mexican Pesos, English Pounds, Yen, and Francs) to choose from to convert to dollar amount or vice versa.
4. Program displays the dollar amount the chosen currency is equivalent to.
5. User has an option to quit the program or restart any with any other currency to convert.
Input-Process-Output Chart
Complete the following Input-Process-Output chart for the application using a structured programming approach.
Input Process Output
Menu Options Input all optional currencies All currencies displayed
Number variables Only number amount allowed in box Currency amount
Currency formula for conversion
(foreign currency to U.S. dollar) Currency conversion U.S. dollar equivalent amount
Currency formula for conversion
(U.S. dollar to foreign currency Currency conversion Foreign currency equivalent amount
Restart or quit program Optional choice requests Restart or quit buttons

Hierarchy Chart

Control Flow Diagram—Main Control

Control Flow Diagram—Display Menu

Control Flow Diagram—Get_Int_Value

Control Flow Diagram—Convert Currency

Control Flow Diagram—Display_Results

Main Module
Call Control Module
Call Display Module
Call Get Int Value Module
Call Convert Module
Call Results Module
End Main Module

Control Module
Declare Currency as String
Write, “Currency Conversion Software”
Write, “Welcome to our software!”
Write, “Please select your currency to convert from any American dollar amount.”
Write, “Enter 0 when complete.”
Write, “Enter Quit to leave software.”
Prompt for DollarCurrency
Input DollarCurrency
If Selection = 1 Then
Set Currency = Canadian
End If
If Selection = 2 Then
Set Currency = Mexican
End If If Selection = 3 Then
Set Currency = Pounds
End If

You May Also Find These Documents Helpful

  • Better Essays

    Eco 372 Team Paper

    • 1490 Words
    • 6 Pages

    The same principle hold true for foreign currency. On May 9, 2013 the U.S.-to-Euro exchange rate was .767 EUR, meaning that for one U.S. dollar, one could purchase .767 Euros. In order to determine the amount that one could exchange one Euro to the dollar, one could use this simple formula:…

    • 1490 Words
    • 6 Pages
    Better Essays
  • Good Essays

    It/210 Final Exam

    • 1235 Words
    • 5 Pages

    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 then converts the foreign currency to dollars. The program displays the equivalent dollar amount and returns the user to the menu until another conversion is inputted or quits the program.…

    • 1235 Words
    • 5 Pages
    Good Essays
  • Powerful Essays

    It 210 Appendix I

    • 623 Words
    • 3 Pages

    Axia College Material Appendix I 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 Diagram—Display_Results |[pic] | PSEUDOCODE Main Module Declare Selection as an integer Declare CurrencyType as string Declare USDollar as real Declare ConvertedAmount as real Call Display/Selection Module Call Canadian Module Call Mexican Module Call English Module Call Japanese Module Call French Module Call Quit Module Call Output Module End Program…

    • 623 Words
    • 3 Pages
    Powerful Essays
  • Satisfactory Essays

    Yes Nation = Canadian Currency = Dollars Nation = Mexican Pesos = Dollars Nation = English Pounds =…

    • 585 Words
    • 3 Pages
    Satisfactory Essays
  • Better Essays

    Your company is deciding to expand to the following countries, and you and two other managers will have to visit these countries to set up operations. You have $1,500.00 to convert in each currency. The corresponding exchange amount is computed and shown in the following table.…

    • 1011 Words
    • 5 Pages
    Better Essays
  • Satisfactory Essays

    Number Conversions

    • 180 Words
    • 2 Pages

    2. Convert the hexadecimal number E7 into binary, and then convert the binary result into…

    • 180 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    IT 210-Final Currency Conversion Program Florence Sanders IT/210 Fundamentals of Programming with Algorithms and Logic September 16, 2012 Ed Addison Application-Level Requirements List 1. User screen that prompts user 2. Display prompts main user title screen 3. Main user screen provides short description explaining use of program 4. Calculations of currency is executed with valid inputs 5.…

    • 1386 Words
    • 6 Pages
    Powerful Essays
  • Satisfactory Essays

    It210 Appendix F

    • 372 Words
    • 3 Pages

    The final project consists of a currency conversion application. This application—similar to simple, practical programs on many travel or financial Web sites—includes the following elements:…

    • 372 Words
    • 3 Pages
    Satisfactory Essays
  • Powerful Essays

    It 210 Final Project

    • 1033 Words
    • 5 Pages

    Write, “Select international currency type: Canadian dollars, Mexican pesos, English pounds, Japanese yen, French francs.”…

    • 1033 Words
    • 5 Pages
    Powerful Essays
  • Satisfactory Essays

    input the name and price of an item and its weight in pounds and ounces.…

    • 269 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    6. It turns out that $1 CAN is worth 0. 63 euros. When I go to Europe and get ready to return to Canada, I have 500 Euros left, which I exchange. The person cannot give me change and always rounds down to the nearest Canadian dollar, in order to make a profit. How many Canadian dollars do I get back? How much profit does she make?…

    • 1044 Words
    • 5 Pages
    Good Essays
  • Good Essays

    Unit 7 Assignment 1

    • 749 Words
    • 4 Pages

    What is condition-controlled loop? Condition-controlled loop uses a true/ false condition to control the number of times that it repeats.…

    • 749 Words
    • 4 Pages
    Good Essays
  • Good Essays

    finc853

    • 912 Words
    • 4 Pages

    B. Suppose an American exporter has just received a payment of € 100,000, how many dollars will result upon conversion?…

    • 912 Words
    • 4 Pages
    Good Essays
  • Satisfactory Essays

    Blade Case - Chapter 7

    • 798 Words
    • 4 Pages

    1. The first arbitrage opportunity relates to locational arbitrage. Holt has obtained spot rate quotations from two banks in Thailand, Minzu Bank and Sobat Bank, both located in Bangkok. The bid and ask prices of Thai baht for each bank are displayed in the table below:…

    • 798 Words
    • 4 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Pay Per Click

    • 706 Words
    • 3 Pages

    It takes 10 clicks to Convert (R) $100\10 = $10, you can pay up to $10 per click.…

    • 706 Words
    • 3 Pages
    Satisfactory Essays