[FONT=&]Program Bai_tap;[/FONT]
[FONT=&]Uses crt;[/FONT]
[FONT=&]Var a, b, c, dtb: real;[/FONT]
[FONT=&]BEGIN[/FONT]
[FONT=&]Clrscr;[/FONT]
[FONT=&]Write (‘Moi nhap diem Van ’); read (a);[/FONT]
[FONT=&]Write (‘Moi nhap diem Anh ’); read (b);[/FONT]
[FONT=&]Write (‘Moi nhap diem Tin ’); read (c);[/FONT]
[FONT=&]dtb:= (a+b+c)/3;[/FONT]
[FONT=&]Writeln (‘Diem trung binh la:’, dtb:8:2);[/FONT]
[FONT=&]If dtb >= 8 then writeln(‘Gioi’)[/FONT]
[FONT=&] Else If dtb>=6.5 then writeln(‘Kha’)[/FONT]
[FONT=&] Else If dtb>=5 then writeln(‘TB’)[/FONT]
[FONT=&] Else If dtb>=3.5 then writeln(‘Yeu’)[/FONT]
[FONT=&] Else writeln(‘Kem’);[/FONT]
[FONT=&]Readln[/FONT]
[FONT=&]END.
[/FONT]
* [FONT=&]Chú ý: Alt[/FONT][FONT=&]+F9 (dịch chương trình)[/FONT]
[FONT=&]Ctrl[/FONT][FONT=&]+F9 (chạy chương trình)[/FONT]
[FONT=&] Alt[/FONT][FONT=&]+F5 (xem kết quả)[/FONT]