Category Banking

Currency conversion design assignment hierarchy chart

Posted on by WESLEY S.

Currency Conversions Power structure Chart

Currency Conversion process power structure chart

Main Program

Declare Benefits as real

Call Demonstrate Menus Element

Call Get_Int_Value Module

Call Convert_Currency Module

Call Present Outcome Component

End Principal Program

Display Menu

Declare Terms Module

Declare Convert_Currency since real

Print “Please go for Language”

Get Int_Value

Print “Welcome to make sure you your Currency exchange Converter, Insert Value:“

Input_Value

Convert Cash this impact Significance = (1 And 6.2561) * Int_Value =US Dollars

Convert Currency

Display Results

Print, Location Int_Value,Currency, You Value
“Thank anyone meant for using Converter”

Pseudo computer code

Main Module

Declare options because integer

Declare currencyType for the reason that Integer

Declare internationalValue mainly because real

Declare USValue for the reason that real

Do Though person wishes to help continue

Present Menu

Get World-wide Value

Convert Currency

Display Results

End loop

Print exit message

End Main Module

Display Menu

Declare continue on as Boolean

Place proceed = true

When proceed = true

Display "Currency alteration program"

Display up-to-dateness conversions style and design assignment hierarchy chart help to make the selection"

Display "1: Canadian Dollars"

Display "2: Asian Pesos"

Display "3: Language Pounds"

Display "4: Japan Yen"

Display "5: The french language Francs"

Display "6: Quit"

Display "Enter any selection:";

Input currencyType

If currencyType >= 1 And also currencyType <= 5 then

Arranged continue = false

else when currencyType = 6

Show “Quitting Foreign exchange Conversion”

go on = false

else

Monitor “"Error 4: Broken food selection selection."

persist = true

end if

ending While

End Showcase Menu

Get Overseas Value

Declare importance simply because integer

Declare proceed because Boolean

Set continue = true

While persist = true

Display "Enter a good forex valuation (positive number): "

Input internationalValue

if internationalValue > 0 As well as forex conversions style and design paper bureaucracy graph or chart <= 1000000 then

continue = false

else

Demonstrate “"Error 1: Ill input--Negative Number"

keep going = true

end should

end while

End Obtain Intercontinental Value

Convert Currency

Declare charge while real

Select Lawsuit about currencyType

case 1:

Establish charge = 1.4680

case 2:

Specify rate = 9.5085

situation 3:

Specify pace = .6085

situation 4:

Establish rate = 104.92

situation 5:

Place speed = 6.2561

default:

Establish fee = 0.0

End Case

USValue = (1 Or rate) * internationalValue

End Replace Currency

Display Results

Declare country when string

Declare fx journal posts sites string

Select Case ancient civilizations place assignment currencyType

scenario CANADIAN:

united states = "Canadian";

money = "Dollars";

court case MEXICAN:

country = "Mexican";

currency = "Pesos";

lawsuit ENGLISH:

u .

s . = "English";

up-to-dateness = "Pounds";

circumstance JAPANESE:

location = "Japanese";

fx = "Yen";

condition FRENCH:

u . s . = "French";

money = "Francs";

default:

location = "No country";

fx = "";

End Case

if foreign currency > “” then

Display “The importance connected with “, internationalValue, “ “nation, “ “, foreign currency, “ might be “,

usValue, “ dollars”

else

Display "Error 5: Unacceptable fx type."

end if

End Display screen Results

Control Move Diagram—Display Menu

Control Movement Diagram—Get_Int_Value


Management Circulation Diagram—Convert Currency

Control Rate Diagram—Display_Results

Test Values

Canadian (currency 1)

Input your Int Appeal seeing that 100 Canadian Dollars

US Cost = (1/ 1.468) * 300 = 272.40 Individuals Dollars

Output: “The value in 100 English tongue kilos will be 164.33 You Dollars”

Mexican Pesos (currency 2)

Input the particular Int Benefit while 200 Asian Pesos

US Valuation = (1/ 9.5085) * 210 = 21.00 U .

s . Dollars

Output: “The worth about 190 Mexcian Pesos is usually 21.00 All of us Dollars”

English -pound (currency 3)

Input typically the Int_Value seeing that 200 British pound

US Cost = (1 Or .6085) * 100 = 164.33 People Dollars

Output: “The cost associated with 100 English tongue pounds is certainly 164.33 You and me Dollars”

French francs (currency 5)

Input your Int_Value for the reason that 655 People from france francs

US Importance = (1 / 6.2561) * 655 = 105.00 U .

s . Dollars

Output: “The value for 655 The language francs is without a doubt 105.00 You Dollars”

Japanese Yen (currency 4)

Input a Int_Value because 500 Western Yen

US Benefit = (1 Or 104.92) * 500 = 4.77 U .

s . Dollars

Output: “The valuation about 500 Nippon Yen is actually 4.77 People Dollars”

Currency Conversion

International Currency = Japan Yen

Inputs:

Currency_Type = 4

Int_Value = 500.0

Calculations:

US_Value = 4.77

Expected Output

All the significance of 500.0 Japanese people Yen might be 4.77 You dollars

International Money = Canadian Dollars

Inputs:

Currency_Type = 1

Int_Value = 400.0

Calculations:

US_Value = 272.4

Expected Output

The value regarding 400.0 Canadian Dollars is 272.4 All of us dollars

International Money = Mexican Pesos

Inputs:

Currency_Type = 2

Int_Value = 200.0

Calculations:

US_Value = 21.00

Expected Output

a cost associated with 200.0 Philippine Pesos is without a doubt 21.00 U .

s . dollars

International Forex = Language Pounds

Inputs:

Currency_Type = 3

Int_Value = 900.0

Calculations:

US_Value = 1479.04

Expected Output

Your importance from 900.0 English Unwanted weight is normally 1479.04 All of us dollars

International Forex = French francs

Inputs:

Currency_Type = 5

Int_Value = 655.0

Calculations:

US_Value = 105.00

Expected Output

Your benefit involving 655.0 French francs might be 105.00 All of us dollars

currency transformation design plan hierarchy chart

0 thoughts on “Currency conversion design assignment hierarchy chart

Add comments

Your e-mail will not be published. Required fields *