You are on page 1of 1

input: set: input:

Start thb < 0 True


"How much THB?" thb = (ans1) "Choose other currency"

false

print:
"Not a valid value, plz try again"
print:
"Not a valid currency,
plz retry"

set: set:
true currency = USD
exchange = thb * 0.03 currency = (ans2)
True

False
End

set:
True currency = EURO
exchange = thb * 0.027
False

False
(retry) == "Yes"

set:
True currency = YEN
exchange = thb * 3.46

input:
"Retry?"

output:
"(thb) THB in (currency) is:
(exchange)"

You might also like