Program Trungbinhcong;
Uses crt;
Var a,b,c,d,tb: integer;
Begin
Clrscr;
Write('Nhap so thu nhat:'); Readln(a);
Write('Nhap so thu hai:'); Readln(b);
Write('Nhap so thu ba:'); Readln(c);
Write('Nhap so thu tu:'); Readln(d);
tb:=(a+b+c+d)/4;
Writeln('Trung binh cong cua 4 so la:',tb:4:2);
Readln
End.