Write an algorithm for an ATM program. Think about where there would be selection statements, menus, loops (counted vs. conditional), etc. – but – don’t write MATLAB code, just an algorithm (pseudo-code)
belongs to book: MATLAB: A Practical Introduction to Programming and Problem Solving|Stormy Attaway|Fourth Edition| Chapter number:5| Question number:18.5
All Answers
total answers (1)
Read card
Look up account
If invalid,
print error message and end
else
Display menu of language choices
Select language based on button push
Ask for PIN
while PIN is invalid (up to 3 tries)
Ask for PIN again
end
if PIN still invalid
print an error message and end
else
carry on! etc.
need an explanation for this answer? contact us directly to get an explanation for this answer