Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

BD 1 6 lis disayn wan sm l program f p di wan d n we de yuz am f k nv yt m ni

BD16 "lis disayn wan sml program fp di wan dn we de yuz am f knvyt mni bitwin strelia dla (AUD)n Hng K dla (HKD). Di sistm go aks di wan dn we de yuz am if dn go lk f knvyt AUD to HKD HKD to AUD, dn aks di wan dn we de yuz am di mni we dn." go lk f knvyt, dn print di mni we dn dn knvyt If di yuza dn input nmba da pas 12, sho se na invalid input na lk dis: (4 mistek dn).
(Assume 1 AUD ikwal to 5.57 HKD)
Enta 1, if yu wan f knvyt HKD to AUD
Enta 2, if yu wan f knvyt AUD to HKD
[][].
Aw bku yu go lk f knvyt?
[][].
$ 3000.0 AUD na ikwal to $ 16710.0 HKD.
Kod f progrm:
convert = input(""nta 1 if yu want f knvyt HKD to AUD;
nta 2 if yu want f knvyt AUD to HKD
"")
if knvyt ==1: .
amount = input(""Aw bku yu want f knvyt?
"")
print('$', mnt,'HKD ikwal to $', mnt/5.57, 'AUD.')
elif knvyt ==2: .
amount = input(""Aw bku yu want f knvyt?
"")
print('$', float(amnt), 'AUD ikwal to $', flot(amnt)*5.57, 'AUD.')
bak:
print(""ntri we n rayt"")
Sbmit yu rivishn na di blank eria d ya:"

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Processing

Authors: David Kroenke

11th Edition

0132302675, 9780132302678

More Books

Students also viewed these Databases questions

Question

1-2 Identify and discuss career opportunities in accounting.

Answered: 1 week ago

Question

Describe five of G. Stanley Halls major achievements.

Answered: 1 week ago