** Please, as configured, the server and client as designed to listen on localhost port 8082 only
** Please note that as configured, the server and client as designed to listen on localhost port 8082 only. These values can be changes in the server and client code scripts.
go to atmcode folder
1. go to atmcode folder
: start the atm (load the amount of 20$ notes and 50$ notes at start)
2. start the atm (load the amount of 20$ notes and 50$ notes at start)
Usage: ./atmserver.py <number of 20$ notes> <number of 50$ notes>
: use the client (any amounts other than multiples of 20, 50 will yield an "Invalid amount":
3. use the client (any amounts other than multiples of 20, 50 will yield an "Invalid amount":
If successul, the client terminal will show the amount withdrawn and the amount of 20$ and 50$ bills