#include<math.h> #include<conio.h> #include<stdio.h> void main() { clrscr(); float n; printf(" nhap nam sinh cua ban n=");scanf("%f",&n); if(n<1000) printf("nam sinh cua ban phai la nam co bon so"); else if(n>=1000) printf("ban thuoc the he %0.0f X",floor((n-1000)/100)); getch(); }