Currency Conversion Program--Final Project

Currency Conversion Program--Final Project - Application-...

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

View Full Document Right Arrow Icon
Application-Level Requirements List 1. The program shall present a series of user screens that prompts the user for specified input. 2. The main user screen shall have an application title. 3. The main user screen should have a short description saying how to use the program. 4. The calculation should be executed only after all the valid input values are provided. 5. The program shall allow the user to clear all the input fields and do the calculations over. Input- Process-Output Hierarchy Chart IT 210 Input Process Output Currency Type Currency Amount Exchange Rate Get User Input Currency type Currency Amount Exchange Rate Currency Type Choose correct type Currency Type Enter Currency Amount Calculate total to the nearest Dollar amount Dollar Amount Foreign Currency Amount Convert to U.S. Dollars U.S. Currency Amount Currency Type Currency Amount Exchange Rate Display Results Conversion Of foreign Currency into U.S. Dollars
Background image of page 1

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

View Full DocumentRight Arrow Icon
Control Flow Diagram—Main Control IT 210 Begin Quit? Provide exit message Yes No End I nput Currency Amount Select Currency To Divide By Currency Display Converted Main Module Display Menu Module Get Currency Module Convert Currency Modules Display Output Results
Background image of page 2
Control Flow Diagram—Display Menu IT 210 Begin Valid selection? Error 4: Invalid menu selection No Yes End Quit? Yes Quit Verified? Yes No Conversion Verified? No Yes No I nput Currency I nput Currency I nvalid Compute Currency
Background image of page 3

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

View Full DocumentRight Arrow Icon
Control Flow Diagram—Get_Int_Value Begin Legal input? No Yes End Valid Input? No Yes IT 210 Currency Currency Invalid Selection Invalid
Background image of page 4
Pseudo Code 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.) 5) Output the results. Main Module
Background image of page 5

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

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

This note was uploaded on 08/12/2011 for the course IT 215 taught by Professor Danielreddy during the Spring '11 term at University of Phoenix.

Page1 / 14

Currency Conversion Program--Final Project - Application-...

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

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