Assignment Week 4

Assignment Week 4 - AssignmentWeek4 Hierarchy Chart...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
Assignment Week 4 Hierarchy Chart Complete a hierarchy chart for the application above by typing into the textboxes below. Psuedocode Action-Level Requirements -Get Input from the User -Enter the Amount of Foreign Currency -Select the type of foreign currency to be converted to U.S. dollar -Divide the amount of currency by the foreign currency rate -Output the converted results. Main Module -Declare Nationality as string -Declare CurrencyType as integer -Declare CurrencyAmount as Real -Declare USDollar as real -Call Input Module -Call Check Module -Call Currency Type Module -Call Exit Module -Call Output Module Input Module Declare CurrencyType as integer Display “Welcome to Currency Converter” Display “Please select a type of currency (Select 1-6)” Convert  Currency Currency  Conversion Display Menu Obtain Int  Value Display  Results
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Display “1 Canadian Dollar” Display ”2 Mexican Peso” Display “3 English Pounds” Display “4 Japanese Yen” Display “5 French Francs” Display “6 Quit”
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 5

Assignment Week 4 - AssignmentWeek4 Hierarchy Chart...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online