Q:

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)

0

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).

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

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

total answers (1)

Similar questions


need a help?


find thousands of online teachers now