viết đoạn lệnh tính tổng của các số tự nhiên lẻ không vượt quá 2018 bằng 2 cách
a. Sử dụng câu lệnh for-do
b. Sử dụng câu lệnh while-do
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.



1. I intend to buy something for our house and I want to reward you for your good marks at school.
2. I am afraid of crossing streets.
3. I can help you make a good choice.
4. The driver drove his car as carefully as he could.
5. Let’s cross the street at the zebra crossing.
6. Who is teaching you English, Lan?
7. What should he tell the listeners in his report?
8. How did your school look on the first school day?
9. How is a big city look?
10. Did Your mother give you a reward when you get good marks at school?
11. Where was you last Sunday? I went to Ho Chi Minh City.
12. He was new here last year, and he had a lot of troubles with the new regulations.
13. How often do you go to the pictures?
14. Please tell me if he comes
15. The schoolyard was so full that we had to move outside.
16. The signs were very bright. We could see them from a long distance.
17. She was so sick that she could not go to school on the first day.
18. I frequently go to visit my grandparents in the city.
19. Which of those two women is prettier?
20. I wish I were a flight attendant.
21. My brother often falls asleep as he is watching television.
22. I won’t forget what I saw
23. He acted so well that the audience was moved to tears.
24. All English schools have a short holiday about the middle of each term. On one of these occasions, Alice and Jack had a chance to spend their holidays on a farm. It was the biggest farm in the country
1. I (intend to buy) something for our house and I want to reward) you for your good marks at school.
2. I am afraid of crossing streets.
3. I can help you make a good choice.
4. The driver drove his car as carefully as he could.
5. Let’s (cross) the street at the zebra crossing.
6. Who does teach you English, Lan?
7. What should he tell the listeners in his report?
8. How …did your school look( look) on the first school day?
9. How …a big city look li ke(look)?
10. …Did Your mother (give) you a reward when you get good marks at school?
program tinh_tong;
uses crt;
var a,i,n : integer;
begin
a:=0
writeln('nhap so tu nhien can tinh tong');readln(n);
If (n> 2018) then write('nhap lai'), else
For i:=1 to n do a:=a+i;
writeln('tong cac so tu nhien',a);
readln;
end.