Mng cho em hỏi en sai ở đâu vậy ạ ?
#include <stdio.h>
int CheckInteger(){
int number; char c;
int check = 0;
do{
fflush(stdin);
printf("Please enter an integer: \n");
}while(scanf("%d%c", &number, &c) != 2 || c != '\n');
return;
}