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

  • 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

    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
  • Powerful Essays

    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.…

    • 1052 Words
    • 5 Pages
    Powerful 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
  • 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
  • Satisfactory Essays

    Aspen Case Study

    • 658 Words
    • 3 Pages

    The main exchange rates exposures are: British pounds, Deutsch Mark, Japanese Yen and Belgian Francs.…

    • 658 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Risk Management

    • 305 Words
    • 2 Pages

    17-1 (Spot exchange rates) An American Business needs to pay (a) 10,000 Canadian dollars, (b) 2 million yen and (c) 50,000 Swiss francs to business abroad. What are the dollar payments to the respective countries?…

    • 305 Words
    • 2 Pages
    Satisfactory 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