-
-
Save rkhang7/65f2041a5ef0863791e8b92b345c43a0 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // chuong trình xep hang hoc luc cua mot hoc sinh | |
| #include <stdio.h> | |
| #include <conio.h> | |
| #include <conio.h> | |
| int main () | |
| { | |
| int n; | |
| do | |
| { | |
| printf("Nhap diem cua ban: ");scanf("%d",&n); | |
| } | |
| while(n<0 || n>10); | |
| if(n<5) printf("KHONG DAT"); | |
| else if (n<6.5) printf("DAT"); | |
| else if(n<7.9) printf("KHA"); | |
| else if(n<=10) printf("GIOI"); | |
| getch(); | |
| return 0; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment