| Algorithm 1 Citizen_Register | |
| Input: C_Add, C_ID, C_name, C_birth, C_nationlity | |
| 1 | if Check_Citizen(C_Add) is not exist then |
| 2 | Add CitizenInfo to CitizenaArrayList; |
| 3 | Setting G_approved = false; |
| 4 | str = “Application submitted.”; |
| 5 | else |
| 6 | str = “Citizen has been registered”; |
| 7 | end if |