Preview

Currency Conversion Test

Good Essays
Open Document
Open Document
737 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Currency Conversion Test
Currency Conversion Pseudocode
Main Module {
Declare ExchangeRate as real;
Declare VariableCurrency as String;
Declare UnitedStatesValue as real;
Declare AmountVariable as real;
Call Input DataModule;
EndMainModule;

InputDataModule;
Write "Welcome to International Currency Conversion";
Write "Please choose Currency Type"
Write "International Currency Types:"
Display "1. Japanese Yen.";
Display "2. French Francs.";
Display "3. Mexican Peso.";
Display "4. Quit."
Write "Enter Amount to be converted";
Prompt User Input Currency Amount;
Input Currency;
If CurrencyType1 then Call JapaneseModule;
Else
If Option 2 then Call FrenchModule;
Else
If Option 3 then Call MexicanModule;
If Option 4 Write "Thank you for using the Currency Conversion. Have a nice day."
EndIf;
EndElse;
EndInputDataModule;

JapaneseModule
VariableCurrency=Japanese Yen;
ExchangeRate = 101.95;
Write "Enter Amount to be converted please.";
Prompt user input;
Input AmountUSD;
AmountVariable = ExchangeRate*AmountUSDollars;
Write "Finished Currency Conversion.";
Display "The value of the currency is "Amount" Japanese Yen";
EndJapaneseModule;

FrenchModule
VariableCurrency=French Franc;
ExchangeRate = 4.82;
Write "Enter Amount to be converted please.";
Prompt user input;
Input AmountUSD;
AmountVariable = ExchangeRate*AmountUSDollars;
Write "Finished Currency Conversion.";
Display "The value of the currency is "Amount" French Francs.";
EndFrenchModule;

MexicanModule
VariableCurrency=MexicanPeso;
ExchangeRate = 12.892;
Write "Enter Amount to be converted please.";
Prompt user input;
Input AmountUSD;
AmountVariable = ExchangeRate*AmountUSDollars;
Write "Finished Currency Conversion.";
Display "The value of the currency is "Amount" Mexican Pesos.";
EndMexicanModule;

Write "Would you like to convert another amount?";
If No then end;
If yes then return InputDataModule;
EndIf
End
}

Currency Conversion Test (Procedures Valid and

You May Also Find These Documents Helpful

  • Satisfactory Essays

    10. The domestic currency value of a monetary foreign currency cash flow changes ____ with a change in foreign currency…

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

    Appendix a It210

    • 305 Words
    • 2 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 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.…

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

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

    Application-Level Requirements List 1. Main Module 2. Input Module 3. Conversion Module 4. Output Module 5.…

    • 762 Words
    • 12 Pages
    Good Essays
  • Good Essays

    Given the hardships and struggles the demonstrators in the Birmingham Campaign went through within the span of a month to get Birmingham desegregated, it is easy to see why the Birmingham Campaign is considered one of the most influential campaigns of the 1960s Civil Rights Movement, however, this is not the only reason for such. A little over a year after the end of the campaign, in July 2nd of 1964, the Civil Rights Act of 1964- the prohibition of discrimination based on age, gender, race, religion, or national origin- was signed into law by the 35th President of the United States, Lyondon B. Johnson; among the various other incidents credited for playing a part in the passage of this act lies the Birmingham Campaign- the incident that acted as a sort of catalyst for President John F. Kennedy to deliver his Civil Rights Address on June 11th, 1963, in which he called for a piece of legislation that gave all Americans the right to be served in public establishments and a better protected right to vote. Then, shortly after the end of the Birmingham Campaign on May 10th of 1963 and the March on Washington for Jobs and Freedom on August 28th of that same year, Dr. Rev.…

    • 1091 Words
    • 5 Pages
    Good Essays
  • Powerful Essays

    Foreign Exchange markets are set up specifically for the purpose of trading in foreign currencies,…

    • 2841 Words
    • 12 Pages
    Powerful Essays
  • Good Essays

    PT1420 Assign7

    • 685 Words
    • 4 Pages

    2. Design a Do-While loop that asks the user to enter two numbers. The numbers should be added and the sum displayed. The loop should ask the user if he or she wishes to perform the operation again. If so, the loop should repeat, otherwise it should terminate.…

    • 685 Words
    • 4 Pages
    Good Essays
  • Good Essays

    While serving in the Navy as a Hospital Corpsman, I developed many skills. Perhaps one of the most important skills is the ability to place an intravenous catheter into a vein. This procedure is most commonly referred to as “starting an IV”. In today’s medical community, intravenous cannulation is necessary for the administration of many antibiotics and other therapeutic drugs. Listed below are the procedures and guidelines for starting a successful IV. Following these instructions will provide a positive experience for the patient and clinician.…

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

    Currency Manipulation

    • 1869 Words
    • 8 Pages

    The United States of America has been conducting trade with China ever since it has had a port. One of the first ships to sail under the American flag was the Empress of China, which left the New York harbor on February 22, 1784, to become the first U.S. ship in Chinese waters when it landed in Guangzhou, China. That first voyage opened a door to both the United States and China, a door that would lead to centuries of trade, and would make both nations the largest economies in the modern world. Later, the U.S. saw China for what it was: a huge mass filled with natural resources ripe for the taking. The U.S. government knew that European nations would also have this realization. To combat the theory of chopping China up into colonies, such as…

    • 1869 Words
    • 8 Pages
    Powerful Essays