Users task is to guess 4 digits generated by my program. Those digits should be unique. My program should give a hint to users based on their guess.
No. of Green – Right digit at the right place
No. of Red – Right digit but at the wrong place
For example :
Number generated is 4589
User guess is 4810
Hint: 1 Green 1 Red
Actually..I really doesnt understand the question..can someone explain it to me?:D