Trang chủ Tin Học Lớp 8 VCT làm 1 phần mềm bảng cửu chương pascal nghe...

VCT làm 1 phần mềm bảng cửu chương pascal nghe có hiệu ứng âm thanh ánh sáng menu là tiếng anh nghe vòn lại tiếng việt cho nhập số(bảng cửu chương mấy: (nhập 1

Câu hỏi :

VCT làm 1 phần mềm bảng cửu chương pascal nghe có hiệu ứng âm thanh ánh sáng menu là tiếng anh nghe vòn lại tiếng việt cho nhập số(bảng cửu chương mấy: (nhập 1 hoặc 2, 3,4,.....)

Lời giải 1 :

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.

Thảo luận

Bạn có biết?

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ư

Tâm sự 8

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 :))

Liên hệ hợp tác hoặc quảng cáo: gmail

Điều khoản dịch vụ

Copyright © 2021 HOCTAPSGK