Eumlator code

(system) #1

i really need help for this code

In ATM machine, an electronic lock circuit is used to authorize the card. This circuit has two input codes: The card number that consists of 16 bits and the password that consists of 4 bits. If the bank has 20 customers only uses the cards. Construct their database and store it in the memory. Then write a program for card authorization.
The inputs of the program are the card number and the password.
The output is one bit (0/1) that means (denied/allowed).

(system) #2

يا ريت اللي يعرف اي حاجه عن الكود يرد لاني محتجاه ضرووووووووووووووري جدا