Submitted by mikebeard1978 on 04/03/2011 09:13 AM Flag This Paper
Join Now
Currency Conversion Final IT 210 week 9
Hierarchy Chart
|
Flowcharts
Control Flow Diagram—Main Control
-------------------------------------------------
-------------------------------------------------
Control Flow Diagram—Display Menu
|
Control Flow Diagram—Get_Int_Value
|
Control Flow Diagram—Convert Currency
|
Control Flow Diagram—Display_Results
|
<p> Core Component
State choice as an numeral
State money as an numeral
State Global Rate as valid
State US Value as valid
Perform As client would like to resume
Show List of options
Acquire global Rate
Change money
Show Outcome
Finish loop
Print exit communication
Finish core Component
Show List of options
State resume as Boolean
Set resume = valid
As resume = valid
Show & quot; Welcome to the Global Money Exchange & quot;
Show & quot; Present choice now & quot;
Show & quot; Global money Types:& quot;
Show & quot;1: Canadian Dollars & quot;
Show & quot;2: Mexican Pesos & quot;
Show & quot;3: English Pounds & quot;
Show & quot;4: Japanese Yen & quot;
Show & quot;5: French Francs & quot;
Show & quot;6: Quit & quot;
Show & quot; Enter selection: & quot;;
Enter currency
If money Type & gt; = 1 AND money Type & lt;= 5 next
Set resume = untrue
else if money Type = 6
Show “Stop money Changeâ€
resume = untrue
else
Show “& quot; Error 4: Void choice selection. & quot;
resume = valid
finish if
finish As
Finish Show List of options
Acquire Global Rate
State value as numeral
State resume as Boolean
Set resume = valid
As resume = valid
Show & quot; Enter money rate (positive numeral):& quot;
Enter Global Rate
if Global Rate & gt; 0 AND global Rate & lt;= 1000000 then
resume = untrue
else
Show & quot; Error 1: Void input--Negative Numeral & quot;
resume =...