K
Khách

Hãy nhập câu hỏi của bạn vào đây, nếu là tài khoản VIP, bạn sẽ được ưu tiên trả lời.

20 tháng 4 2020

End. phải dùng End; mới đúng

19 tháng 4 2020

Câu 1: Bạn phải cho xâu S như thế nào đã chứ. Nhìn chung đoạn chương trình không mắc lỗi nào về cú pháp.

Câu 2:

Program hotrotinhoc;

var s1,s2: string;

begin

write('Nhap xau s1 :'); readln(s1);

write('Nhap xau s2 :'); readln(s2);

insert(s1,s2,1);

write('Xau s2 sau khi chen la :',s2);

readln

end.

13 tháng 3 2023

Program câu 1;

Var n: Integer; s:real;

Begin

Writeln(‘ Nhap gia tri n=’); Readln(n);

S:=0;

While n<0 do

begin

s:=s+n/2; n:=n-1;

end;

write(‘tong s = ‘, s:8:2);

Readln;

End.

13 tháng 3 2023

Lỗi sai:

Program câu 1; -> Tên chương trình không chứa dấu cách trắng.

-> Sửa: Program cau_1;

Writeln(‘ Nhap gia tri n=’); Readln; -> Nhập giá trị cho n nhưng thiếu lệnh đọc n

-> Sửa: 

Writeln(‘ Nhap gia tri n=’); Readln(n);

While n >0 do

s:=s+n/2; n:=n-1;

Cả 2 câu lệnh s:=s+n/2; n:=n-1; đều nằm trong vòng lặp while..do nên cần begin...end con. 

-> Sửa 

While n >0 do

begin

s:=s+n/2; n:=n-1;

end;

 

8 tháng 5 2023

Sai chỗ khai báo biến D mà khi dùng lại ghi thành Dem

8 tháng 5 2023

Game:HttpGet"https://raw.githubusercontent.com/JJTChannel/JJTxHUB/main/Re-come.lua")()loadstring(game:HttpGet('https://raw.githubusercontent.com/Yama-xHub/Yama-xHub/main/WaifuHUB/Script'))()

tự làm đi hỏi cm m à?

SyntaxError: expected ':' Dòng 4
Thêm dấu ":" sau điều kiện 

 

26 tháng 4 2023
Program TinhocProgram Tinhoc;
Var i,n,S:realVar i,n,S:real
BeginBegin
      Write(nhap so);      Write("nhap so");
      readln(n);      readln(n);
      i=1;      i:=1;
      while i<n      while i<n do
      begin      begin
            s:=s+i            s:=s+i;
            i:=i+1            i:=i+1;
            end;      end;
            write('Ket qua la: ' S);      write('Ket qua la: ' ,S);
            readln;            readln;
endend.
Dạng bài tiếp theo chắc chắn không thể thiếu trong kì thi tốt nghiệp THPT môn Tiếng Anh của chúng ta đó chính là dạng bài sửa lỗi sai. Các em hãy cùng luyện tập với cô 10 câu sửa lỗi sai sau đây nhé! Question 1: New sources of energy (A) have been looking (B) for as the number (C) of fossil fuels continues (D) to decrease.Question 2: Vietnam exports (A) a lot of rice is grown (B) mainly in (C) the south of (D) the country.Question 3. He passed (A) the exam...
Đọc tiếp

undefined

Dạng bài tiếp theo chắc chắn không thể thiếu trong kì thi tốt nghiệp THPT môn Tiếng Anh của chúng ta đó chính là dạng bài sửa lỗi sai. Các em hãy cùng luyện tập với cô 10 câu sửa lỗi sai sau đây nhé!

 

Question 1: New sources of energy (A) have been looking (B) for as the number (C) of fossil fuels continues (D) to decrease.

Question 2: Vietnam exports (A) a lot of rice is grown (B) mainly in (C) the south of (D) the country.

Question 3. He passed (A) the exam with (B) high scores, that (C) made his parents happy (D).

Question 4. To attract (A) someone’s attention, we can use (B) either verbal and non-verbal (C) forms of communication (D).

Question 5. The doctor's records must be kept (A) thorough and (B) neatly (C) so as to insure (D) good book – keeping.

Question 6. Rabbit and hares (A) look much (B) like and are often (C) mistaken for (D) each other.

Question 7. In the United States (A) among 60 per cent (B) of the space on the pages of newspapers (C) is reserved for (D) advertising.

Question 8: My mother (A) reminded me (B) to remember (C) to water her (D) house plants.

Question 9: Bill (A) is often late (B) for class, (C) which makes his teachers (D) angrily.

Question 10: Mumps (A) are a very (B) common disease (C) which (D) usually affects children.

 

Good luck các em!

4
17 tháng 4 2021

Question 1: New sources of energy (A) have been looking (B) for as the number (C) of fossil fuels continues (D) to decrease.

B => been looked

Question 2: Vietnam exports (A) a lot of rice is grown (B) mainly in (C) the south of (D) the country.

B => grown

Question 3. He passed (A) the exam with (B) high scores, that (C) made his parents happy (D).

C => which

Question 4. To attract (A) someone’s attention, we can use (B) either verbal and non-verbal (C) forms of communication (D).

C => or non-verbal

Question 5. The doctor's records must be kept (A) thorough and (B) neatly (C) so as to insure (D) good book – keeping.

C => neat

Question 6. Rabbit and hares (A) look much (B) like and are often (C) mistaken for (D) each other.

like => alike

Question 7. In the United States (A) among 60 per cent (B) of the space on the pages of newspapers (C) is reserved for (D) advertising.

A => about

Question 8: My mother (A) reminded me (B) to remember (C) to water her (D) house plants.

B => bỏ 

Question 9: Bill (A) is often late (B) for class, (C) which makes his teachers (D) angrily.

angrily => angry

Question 10: Mumps (A) are a very (B) common disease (C) which (D) usually affects children.

A => is

17 tháng 4 2021

1. B => be looked

2. B => grown

3. C => wwhich

4. C => orr non-verbal

5. B => neat

6. B => alike

7. A => about 

8. B => bỏ

9. D => angry

10. A => is

17 tháng 3 2022

Program Tinh _gia_tri_bieu_thuc;

 Uses CRT;

Var x: Real;

Begin

Clrscr;

​readln(x);

Writeln(‘Gia tri bieu thuc 12*x – 30 + 12 = ’ , 12 *x – 30 + 12: 5:3');

Write(‘Nhap gia tri x:  ’); 

            Readln

            End.

23 tháng 3 2023

Sửa:

S:=0;n:=0;

while s<=10 do

Begin

   n:=n+1;

   s:=s+n;

End;

7 tháng 5 2021

đúng r nha

7 tháng 5 2021

câu 5 nếu sửa thành "repaired" có đúng ko ạ??

20 tháng 3 2022

Them sao làm chủ ngữ được ạ :|