Declare Currency Type as string
Declare Currency Total as integer
Declare US Total as integer
Declare Canadian dollars, Mexican pesos, English Pound, Japanese Yen, French francs as real
Get user input
Determine foreign currency type
Determine foreign currency total
Convert foreign currency to U.S. dollars
Divide currency total by rate to find U.S. total
Display equal value U.S. dollar amount
End Main Module
Input Data Module
Write, "You are entering the currency converter."
Write, "Select international currency type: Canadian dollars, Mexican pesos, English pounds, Japanese yen, and French francs."
Input Currency Type
Write, "What is the total amount of currency?"
Input Currency Total
End Input Data Module
Else (Currency Type Canadian...
Excerpt from file: MainModule DeclareCurrencyTypeasstring DeclareCurrencyTotalasinteger DeclareUSTotalasinteger DeclareCanadiandollars,Mexicanpesos,EnglishPound,JapaneseYen, Frenchfrancsasreal Getuserinput Determineforeigncurrencytype Determineforeigncurrencytotal ConvertforeigncurrencytoU.S.dollars
Filesize: < 2 MB
Print Length: 2 Pages/Slides
Surround your text in
**bold**, to write a math equation use, for example,