
# ATM1  lets a human withdraw cash from an automated teller machine.


# function  error  prints a generic error message.
def error():
    text = "ErrorErrorErrorErrorErrorErrorError\n"
    print text + text + text



# The ``main program'' starts here:

dollars = int(raw_input("Type dollars amount: "))
if dollars < 0 :
    error()   # "calls" the function to do its commands

cents = int(raw_input("Type cents amount: "))
if (cents < 0) or (cents > 99) :
    error()

# the step that does cash withdrawal will go here:
print "...withdraw the cash from the account...(to come)"

raw_input("\n\npress Enter to finish")

