Methods of Algorithm Description Second Edition to accompany the



Download 110,98 Mb.
bet16/17
Sana31.12.2021
Hajmi110,98 Mb.
#240246
1   ...   9   10   11   12   13   14   15   16   17
Bog'liq
ddddddddddd

OFlowchart

An algorithm to describe the control of a telephone dialler.








Subprogram




A
Problem
uto Teller Problem


An automatic teller machine has a console as shown in the diagram below. The teller machine follows this sequence to assist a customer:

  1. The customer will insert their card and enter a PIN. A customer is allowed at most three tries at their PIN. If they get it wrong three times the whole process ends without ejecting the card.

  2. If the PIN is correct they will then select an action button (withdraw, deposit or balance).

  3. Next they will select the account type (savings or cheque).

  4. Finally, they will enter the amount in whole dollars (if appropriate), and press OK to confirm it, and the transaction will be processed.

The auto teller will eject the customer's card and stop the process if the customer presses the 'Cancel' button.

Describe an algorithm which the auto teller could use to accept the details from the customer and act on them.


Download 110,98 Mb.

Do'stlaringiz bilan baham:
1   ...   9   10   11   12   13   14   15   16   17




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish