if i understand correctly what you want

try this

Code:
................
char n1[10];
....................
do{
                                             system("cls");
                                             printf("Polynomial Evaluation\n\n");
                                             printf("Enter the Order of Polynomial (max. 10): ");
                                             scanf("%s",&n1);
                                             n=atoi(n1);
                                             if(n>10||n<1){
                                                           system("cls");
                                                           printf("Invalid input. Please try again!!!\n");
                                                           printf("Please press the spacebar to continue!!");
                                                           getche();
                                                           }
                                             }while(n>10||n<1);
............................
askmewhy25 like this