You must add;
1. Take values from the user.
2. Pass his value to the function which will perform your desired functions.
Good Luck.
Type: Posts; User: Mr.777
You must add;
1. Take values from the user.
2. Pass his value to the function which will perform your desired functions.
Good Luck.
bResult = myCoin.unlock(12345);
Your key is set to 1234 and you are passing 12345 so it will return false.
So the output must be;