Hi guys,
I want to start learning programming and I though of a nice test project for me to learn hands on would be a POS system.
I have a few questions thou:
Number one what would be the ideal language in this case? I must admit I am biased considering Java...?
Number two if I want to create a user login what language besides java would be best to execute something like:
I want to start learning programming and I though of a nice test project for me to learn hands on would be a POS system.
I have a few questions thou:
Number one what would be the ideal language in this case? I must admit I am biased considering Java...?
Number two if I want to create a user login what language besides java would be best to execute something like:
Code:
Bool Check _User (User ID, Password)
{
Check if user ID exist in the database.
If valid user ID then
Get the corresponding password from database and decrypt it.
If (Password_entered = Decripted_password_from_database) then
Find the type of user.
Based on the user type, enable the access to the different
modules.
Enter the system.
Else
Display_message (‘Invalid User’).
Check the count of wrong entry of user ID / password.
If ( No. of times > 5 )
Lock the user ID.
Else
Increase the count for wrong user ID.
End if
End If
End If
}