program bcc;
uses crt;
var a, b, c, d, i, n: integer;
begin
clrscr;
textcolor (lightblue+blink);
writeln ('WELCOME TO THE MULTIPLICATION TABLE PROGRAM');
textcolor (yellow);
writeln ('1.Start');
writeln ('2.Huong Dan');
writeln ('3.Exit');
write ('Ban chon (1, 2, 3): ');
readln (i);
if i=1 then
begin
clrscr;
writeln ('nhap bang cuu chuong (1, 2, 3,...): ');
readln (n);
for i:=1 to 10 do
begin
textcolor (lightblue);
writeln (n,'x',i,'=',n*i);
delay (50);
end;
delay (2500);
textcolor (green+blink);
writeln ('PRESS ENTER TO EXIT');
readln;
exit;
end;
if i=2 then
begin
clrscr;
writeln (' HUONG DAN');
writeln ('ban hay chon start de bat dau. Va sau do se co dong chu');
writeln ('"nhap bang cuu chuong (1, 2, 3,...):" va ban se nhap vao');
writeln ('bang cuu chuong minh can tim. VD: Neu ban chon bang cuu');
writeln ('chuong 2 th ban chi can nhap "2" vao cho nhu o tren day');
writeln (' CHUC BAN THANH CONG !!!');
readln;
end;
if i=3 then
exit;
if (i<1) or (i>3) then
begin
clrscr;
sound (1963);
textcolor (lightred+blink);
writeln ('yeu cau khong hop le');
delay (100);
textcolor (lightblue);
writeln ('yeu cau khong hop le');
delay (100);
textcolor (yellow);
writeln ('yeu cau khong hop le');
delay (100);
textcolor (white);
writeln ('yeu cau khong hop le');
delay (100);
textcolor (lightred);
writeln ('yeu cau khong hop le');
delay (100);
textcolor (lightblue);
writeln ('yeu cau khong hop le');
delay (100);
textcolor (green);
writeln ('yeu cau khong hop le');
delay (100);
textcolor (lightgray);
writeln ('yeu cau khong hop le');
delay (100);
textcolor (white);
writeln ('yeu cau khong hop le');
delay (100);
textcolor (lightred+blink);
writeln ('yeu cau khong hop le');
delay (100);
textcolor (lightblue);
writeln ('yeu cau khong hop le');
delay (100);
textcolor (yellow);
writeln ('yeu cau khong hop le');
delay (100);
textcolor (white);
writeln ('yeu cau khong hop le');
delay (100);
textcolor (lightred);
writeln ('yeu cau khong hop le');
delay (100);
textcolor (lightblue);
writeln ('yeu cau khong hop le');
delay (100);
textcolor (green);
writeln ('yeu cau khong hop le');
delay (100);
textcolor (lightgray);
writeln ('yeu cau khong hop le');
delay (100);
textcolor (white);
writeln ('yeu cau khong hop le');
delay (100);
textcolor (lightred+blink);
writeln ('yeu cau khong hop le');
delay (100);
textcolor (lightblue);
writeln ('yeu cau khong hop le');
delay (100);
textcolor (yellow);
writeln ('yeu cau khong hop le');
delay (100);
textcolor (white);
writeln ('yeu cau khong hop le');
delay (100);
textcolor (lightred);
writeln ('yeu cau khong hop le');
delay (100);
textcolor (lightblue);
writeln ('yeu cau khong hop le');
delay (100);
textcolor (green);
writeln ('yeu cau khong hop le');
delay (100);
textcolor (lightgray);
writeln ('yeu cau khong hop le');
delay (100);
textcolor (white);
writeln ('yeu cau khong hop le');
delay (100);
textcolor (lightred+blink);
writeln ('yeu cau khong hop le');
delay (100);
textcolor (lightblue);
writeln ('yeu cau khong hop le');
delay (100);
textcolor (yellow);
writeln ('yeu cau khong hop le');
delay (100);
textcolor (white);
writeln ('yeu cau khong hop le');
delay (100);
textcolor (lightred);
writeln ('yeu cau khong hop le');
delay (100);
textcolor (lightblue);
writeln ('yeu cau khong hop le');
delay (100);
textcolor (green);
writeln ('yeu cau khong hop le');
delay (100);
textcolor (lightgray);
writeln ('yeu cau khong hop le');
delay (100);
textcolor (white);
writeln ('yeu cau khong hop le');
delay (100);
textcolor (lightred+blink);
writeln ('yeu cau khong hop le');
delay (100);
textcolor (lightblue);
writeln ('yeu cau khong hop le');
delay (100);
textcolor (yellow);
writeln ('yeu cau khong hop le');
delay (100);
textcolor (white);
writeln ('yeu cau khong hop le');
delay (100);
textcolor (lightred);
writeln ('yeu cau khong hop le');
delay (100);
textcolor (lightblue);
writeln ('yeu cau khong hop le');
delay (100);
textcolor (green);
writeln ('yeu cau khong hop le');
delay (100);
textcolor (lightgray);
writeln ('yeu cau khong hop le');
delay (100);
textcolor (white);
writeln ('yeu cau khong hop le');
delay (100);
textcolor (lightred+blink);
writeln ('yeu cau khong hop le');
delay (100);
textcolor (lightblue);
writeln ('yeu cau khong hop le');
delay (100);
textcolor (yellow);
writeln ('yeu cau khong hop le');
delay (100);
textcolor (white);
writeln ('yeu cau khong hop le');
delay (100);
textcolor (lightred);
writeln ('yeu cau khong hop le');
delay (100);
textcolor (lightblue);
writeln ('yeu cau khong hop le');
delay (100);
textcolor (green);
writeln ('yeu cau khong hop le');
delay (100);
textcolor (lightgray);
writeln ('yeu cau khong hop le');
delay (100);
textcolor (white);
writeln ('yeu cau khong hop le');
delay (100);
textcolor (lightred+blink);
writeln ('yeu cau khong hop le');
delay (100);
textcolor (lightblue);
writeln ('yeu cau khong hop le');
delay (100);
textcolor (yellow);
writeln ('yeu cau khong hop le');
delay (100);
textcolor (white);
writeln ('yeu cau khong hop le');
delay (100);
textcolor (lightred);
writeln ('yeu cau khong hop le');
delay (100);
textcolor (lightblue);
writeln ('yeu cau khong hop le');
delay (100);
textcolor (green);
writeln ('yeu cau khong hop le');
delay (100);
textcolor (lightgray);
writeln ('yeu cau khong hop le');
delay (100);
textcolor (white);
writeln ('yeu cau khong hop le');
delay (100);
nosound;
writeln ('PRESS ENTER TO EXIT');
readln;
exit;
end;
end.
Tin học, tiếng Anh: informatics, tiếng Pháp: informatique, là một ngành khoa học chuyên nghiên cứu quá trình tự động hóa việc tổ chức, lưu trữ, xử lý và truyền dẫn thông tin của một hệ thống máy tính cụ thể hoặc trừu tượng (ảo). Với cách hiểu hiện nay, tin học bao hàm tất cả các nghiên cứu và kỹ thuật có liên quan đến việc mô phỏng, biến đổi và tái tạo thông tin.
Nguồn : Wikipedia - Bách khoa toàn thưLớp 8 - Năm thứ ba ở cấp trung học cơ sở, học tập bắt đầu nặng dần, sang năm lại là năm cuối cấp áp lực lớn dần nhưng các em vẫn phải chú ý sức khỏe nhé!
Nguồn : ADMIN :))Xem thêm tại https://loigiaisgk.com/cau-hoi or https://giaibtsgk.com/cau-hoi
Copyright © 2021 HOCTAPSGK