Preview

Currency Conversion Test Values

Satisfactory Essays
Open Document
Open Document
374 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Currency Conversion Test Values
IT210
Currency Conversion Test Values
Currency Conversion Test Values
Input
Expected Output
Comments
Selection = TEST

Error Message
Invalid input
Selection = c

“Let’s get started.”
Prompt country selection
Selection = e

“Are you sure you wish to exit?”
Prompt validation message
Selection = y

“Thank you for using the Currency Conversion Program. Goodbye.”

Terminate program
Selection = n

“Select a country from the following options:”

Prompt country selection
Country Selection = Zimbabwe
Error Message
Invalid foreign currency

Country Selection = 0
Error Message

Invalid foreign currency
Country Selection = 6
Error Message

Invalid foreign currency
Country Selection = 1
Canadian dollars
Execute foreign value as Canadian Dollar
Exchange Rate = 1.4680

Country Selection = 2
Mexican pesos
Execute foreign value as Mexican peso
Exchange Rate = 9.5085

Country Selection = 3
English pound
Execute foreign value as
English pound
Exchange Rate = 0.6085

Country Selection = 4
Japanese yen
Execute foreign value as Japanese yen
Exchange Rate = 104.9200

Country Selection = 5
EU euro
Execute foreign value as
EU euro
Exchange Rate = 0.7676

Foreign Amount = -1

Error message
Invalid exchange amount
Foreign Amount = 0

Error message
Invalid exchange amount
Foreign Amount = 1000001

Error message
Invalid exchange amount
Foreign Amount = 1
Country: Canada
Rate: 1.4680
U.S. Value: 0.6811

Lowest valid exchange in Canadian dollars
Foreign Amount = 500000
Country: Canada
Rate: 1.4680
U.S. Value: 340599.4550

Middle exchange in Canadian dollars
Foreign Amount = 1000000
Country: Canada
Rate: 1.4680
U.S. Value: 681198.9100

Maximum valid exchange in Canadian dollars
Foreign Amount = 1
Country: Mexico
Rate: 9.5085
U.S. Value: 0.1051

Lowest valid exchange in Mexican pesos
Foreign Amount = 500000
Country: Mexico
Rate: 9.5085
U.S. Value: 52584.5296

Middle exchange in Mexican

You May Also Find These Documents Helpful

  • Powerful Essays

    b. Using Uncovered Interest Rate Parity, what is the value of the expected spot exchange rate in two years?…

    • 484 Words
    • 2 Pages
    Powerful 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
  • Good Essays

    It210 Week 4 Psuedocode

    • 584 Words
    • 3 Pages

    Write: “Enter 1 to convert Canadian dollars to U.S. Dollars.” Write: “Enter 2 to convert Mexican Pesos to U.S. Dollars.” Write: “Enter 3 to convert English Pounds to U.S. Dollars.” Write: “Enter 4 to convert Japanese Yen to U.S. Dollars.” Write: “Enter 5 to convert French Francs to U.S. Dollars.”…

    • 584 Words
    • 3 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
  • Good Essays

    It 210 Final Project

    • 733 Words
    • 3 Pages

    3. User data should be requested in clear and concise means. “Please Enter Amount of Foreign Currency (Whole amounts only please”…

    • 733 Words
    • 3 Pages
    Good Essays
  • Better Essays

    Utilizing the same exchange rate, while you are visiting each of these countries, you have to buy supplies/equipment for your operations. The…

    • 1011 Words
    • 5 Pages
    Better Essays
  • Satisfactory Essays

    Case 11-4 Functional Currency Determination — IFRS 2009: Sparkle Company is a Nigerian diamond mining company. (Nigerian currency is the Naira (NGN).) Sparkle is a joint venture, 50 percent owned by Shine and 50 percent owned by Brighten. Both Shine and Brighten are U.S.-based companies with US$ functional currency. This year, Sparkle had several transactions with its joint venture owners and outside parties. The details of Sparkle’s transactions are as follows: Loans    $1 million from Brighten. $1 million from Shine. NGN 300 million from a local bank.…

    • 435 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    One Canadian dollar is currently worth 0.7 Euros, which means one Euro is worth 1.43 Canadian Dollars.…

    • 470 Words
    • 2 Pages
    Good Essays
  • Satisfactory Essays

    Bank of Ayers Rock’s stock portfolio has a market value of $10 000 000. The beta of the portfolio approximates the market portfolio, whose standard deviation (m) has been estimated at 1.5 per cent. What is the 5-day VAR of this portfolio, using adverse rate changes in the 99th percentile?…

    • 583 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

    In this time of the 21st century, standardized testing has increased dramatically within the United States. Standardized tests is any examination that is administered and scored in a predetermined, standard manner. These tests were originally created to measure a student's college readiness and future academic success however, studies have proved that standardized tests do not measure a student’s factual knowledge. There are two common types of standardized tests,the first being an achievement test, which is used to evaluate a school’s effectiveness. The second type of standardized testing is a is an aptitude test, such as the SAT and ACT, which is used to measure a person’s ability to acquire, through future training. The increased use of standardized testing began during President Lyndon B. Johnson’s term in his effort on war against poverty which led to the creation of the Elementary and Secondary Education Act of 1965 (ESEA).…

    • 952 Words
    • 4 Pages
    Good Essays
  • Better Essays

    purchasing power parity

    • 2696 Words
    • 11 Pages

    The purpose of this paper is to discuss and critically evaluate the theory and empirical evidence relating to the ‘law of one price’ and the theory of purchasing power parity (PPP). Section I explains the concept underpinning the PPP and the law of one price. Section II involves a critical evaluation of the theory and empirical evidence relating to Section I.…

    • 2696 Words
    • 11 Pages
    Better Essays
  • Powerful Essays

    Dollar Versus Euro

    • 5492 Words
    • 22 Pages

    On January 1, 1999 Euro became the currency for 11 member states of the European Union. Since then the Dollar-Euro exchange rate has completed a full turning. Euro depreciated since its introduction steadily and without any major interruption until February 2002. Then it began to rise against Dollar smoothly and reached a height of 0.74 Euros to 1 US$ in December 2004.…

    • 5492 Words
    • 22 Pages
    Powerful Essays
  • Satisfactory Essays

    1. Suppose the U.S. dollar substantially depreciates against the Japanese yen. The change in exchange rate…

    • 3914 Words
    • 16 Pages
    Satisfactory Essays
  • Good Essays

    Designing of Dollars

    • 529 Words
    • 3 Pages

    Great product design is absolutely critical for most consumer products companies. But how do these companies know when a design feature will pay off, especially when every dollar counts? How so they make those tough decisions? That is the challenge that faced Chuck Jones, chief designer for home appliance company Whirlpool. He knew he had to come up with a better way.…

    • 529 Words
    • 3 Pages
    Good Essays

Related Topics