// ConsoleApplication1.cpp : Defines the entry point for the console application.
//
#include "stdio.h"
#include "stdlib.h"
int main()
{
float a;
printf("Nhap vao so diem cua ban: ");
scanf("%f", &a);
if (a <= 8)
printf("Xep loai gioi");
else if (a <= 7)
printf("Xep loai kha");
else if (a <= 6)
printf("Xep loai trung binh");
else if (a <= 5)
printf("Xep loai yeu");
else
printf("Rot");
getchar();
return 0;
}
Dạ em mới làm bài cơ bản nhưng khi em nhập điểm thì cái debug nó tự tắt dùm em mặc dù đã có getchar rồi?