Week 9 Currency Conversion Project

Week 9 Currency Conversion Project - Week 9 Currency...

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

View Full Document Right Arrow Icon

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

View Full DocumentRight Arrow Icon

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

View Full DocumentRight Arrow Icon

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

View Full DocumentRight Arrow Icon

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

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Week 9 Currency Conversion Project Application-Level Requirements List 1. Currency Program will display the Menu for currency conversion program 2. The program will allow user to select foreign currencies from list on Menu to be converted into US Dollars. 3. Currency conversion program will convert currency amount entered into equivalent amount of US Dollars. 4. Currency program will amount to be converted using user supplied input data. 5.Currency conversion program show user inputted amount and its US dollar equivalent. Input-Process-Output Chart Complete the following Input-Process-Output chart for the application using a structured programming approach. Input Process Output Menu Options Display menu Menu Options Menu Choice Currency User Input Menu Choice Currency Currency Conversion Formula Convert Currency US dollar Hierarchy Chart Complete a hierarchy chart for the application above by typing into the textboxes below. Control Flow DiagramDisplay Menu Ta Begin Legal input? No Yes End Valid Input? No Yes Control Flow DiagramGet_Int_Value Control Flow DiagramConvert Currency Begin Nation = Canadian Currency = Dollars French ? No No No No No Yes Yes Yes Yes Yes End Currency = null? Yes Error 5: Invalid Currency Type No print Nation, Int_Value, Currency, US Value No Control Flow DiagramDisplay_Results Psuedocode Pseudocode Application requirements list 1) Get input from the user. 2) Enter the amount of foreign currency that is to be converted. 3) Select the type of foreign currency that is to be converted to U.S dollars. 4) Divide the amount of currency by the foreign currency rate. Canadian Dollars (Rate: 1 U.S. Dollar = 1.4680 Canadian Dollars.) Mexican Pesos (Rate: 1 U.S. Dollar = 9.5085 Pesos.) English Pounds (Rate: 1.6433 U.S. Dollars = 1 Pound.) Japanese Yen (Rate: 1 U.S. Dollar = 104.9200 Yen.) French Francs (Rate: 1 U.S. Dollar = 6.2561 Francs.) Output the results Module Main Declare Nationality as string Declare Currency Type as integer Declare Currency Amount as real Declare US Dollar as real Declare Quit as string Call Input Module Call Check Module Call Currency Type Module Call Exit Module...
View Full Document

This note was uploaded on 09/08/2011 for the course IT/210 IT/210 taught by Professor Donking during the Summer '11 term at University of Phoenix.

Page1 / 19

Week 9 Currency Conversion Project - Week 9 Currency...

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

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