1. Number Puzzle : Users task is to guess 4 digits generated by your program. Those digits should be unique. Your program will be given hint to users based on their guess.
Number of Green – Right digit at the right place
Number of Red – Right digit but at the wrong place
For example :
Number generated is 4589
User guess is 4810
Hint: 1 Green 1 Red
Use Netbeans for the assignment