יש למישהו איזה פונקציה מוכנה לזה?
scanf("%n",nOption);do{ scanf("%n",nOption);}while (nOption != 1 || nOption != 2 || nOption != 3);