thuật toán:
B1:chạy i từ 1 đến 7
+Kiểm tra: if i mod 2=0 then s:=s+i;
B2:viết s và kết thúc.
program tongsole;
uses crt;
var i,t:integer;
begin
clrscr;
t:=0;
for i:=1 to 7 do
if i mod 2=1 then t:=t+i;
write('Tong cac so le tu 1 den 7 la: ',t);
readln
end.
Cho xin ctlhn nhé
Mô tả thuật toán tính tổng các số lẻ từ 1 đến 7:
- Bước 1 : t ← 0; i ← 0
- Bước 2 : nếu i > 7 thì đưa ra giá trị t rồi kêt thúc
- Bước 3 :
- Bước 3.1 : nếu i mod 2 <> 0 thì t ← t + i
- Bước 3.2 : i ← i + 1 quay lại bước 2
Chứng minh 2+2^2+2^3+2^4+....2^99+2^100 chia hết cho 3
viết đoạn văn bằng tiếng anh: One of the most beautiful places you have visited
Câu 1: Số vừa là bội của 3 vừa là ước của 54 là? Câu 2: Cho P là tập hợp các ước không nguyên tố của số 180. Số phần tử của tập hợp P là?
tả 1 đồ dùng học tập mà em yêu quý nhất { 14 đến 15 dòng nhá }
Từ láy là j cho VD(...)có mấy loại từ ghép cho VD
Tả một đồ dùng học tập yêu thích của em (Trên 30 dòng)
1. k is important to the wonders of the world so that future generations can see them with their own cyes. A destroy B. ignore C. remain D. preserve 2.You don't have to go to a supermarket for that. Just wait for a street to go past, and buy it. B. vendor C. supplier 3Production methods in the village are normally A person D. purchaser from ancestors to the younger generations. A. passed away B. passed out C. passed up D. passed down 4.t's a great exxperience to be sitting in a pulled by someone through the ancient streets. A. bicycle B. rickshaw C. car D. train 5.t is hard for people of different to get along in an extended family. A generations B. genders C. blood D. families 5. We used the kites when we were smnall. A. fly B. to fly C. flew D. flying IV. Complete the sentences with the correct form or tense of the verbs in brackets: 1. Mr. Nam ... (teach) English here since he left university. She said that she (go) to Ho Chi Minh City the followwing day. Use the correct form of the word given in each sentence The language in Malaysia is Bahasa Malaysia. (NATION) e is.. in studying English. (INTEREST)
Dựa vào các câu hỏi và dàn ý đã cho ra Hãy viết 1 Bài Văn tả Hạ Long bằng tiếng Anh Chú ý 1,Là viết 1 bài văn ko phải đoạn 2,No coppy 3, chỉ dựa vào kiến thức kì 1 lớp 6 ko đc hơn 4,sai với đề , bài sẽ bị loại bỏ ngay 5, Ai giúp được mình cho 5 sao và CTLHN Mai thi rồi Nên mình mới ra luật ghê vậy m.n thông cảm 😭😭😭
√a−1/√a<1 với a>0,a khác 1 mn giúp mk vs ạ
Giúp mình caau2 với ạ mai mình thi rồi huhu
Loga.vn - Cộng Đồng Luyện Thi Trực Tuyến