{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

currency conversion design

currency conversion design - Application-Level Requirements...

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

View Full Document Right Arrow Icon
Application-Level Requirements List 1. Get user input 2. Enter amount of foreign currency to be converted 3. Select currency type to be converted to U.S dollars 4. Divide amount of currency by 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. Display conversion results Input Process Output Amount of foreign currency Type of currency to be converted get user input Amount of foreign currency Type of currency to be converted Foreign currency amount Divide Currency by foreign currency rate Rate per U.S dollars Currency to be converted Currency amount Conversion results Display foreign currency in U.S. dollar Amount of U.S dollars IT 210
Background image of page 1

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

View Full Document Right Arrow Icon
Control Flow Diagram—Main Control IT 210 Begin Quit? Amount has to be Greater than 0 Yes No End Input currency amount Select currency to be converted Divide by currency rate Display converted currency results Foreign Currency Conversion Amount of U.S Currency Type of Foreign Currency Amount in U.S dollars Divide by foreign currency rate
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.

{[ snackBarMessage ]}