Hello. I have a small piece of code here, allowing the user to enter 16 characters from 'a' to
'z'. What would be the best way to make the code check if the character hasn't been entered before (is in the array) ?
Code:for (i=0; i<16; i++){ printf("%d: ",i+1); while(((virsotne[i]=getch())<97) || (virsotne[i]>122)); printf("%c\n",virsotne[i],virsotne[i]); }