Viết chương trình: a. Mảng số nguyên gồm 7 phần tử b. Hiện lên màn hình các số nguyên chia hết cho 3 c. Tính tổng các số nguyên chia hết cho 3 đó d. Đếm xem trong mảng có bao nhiêu số chẵn e. Sắp xếp dãy số ban đầu theo thứ tự tăng dần (gợi ý: dùng 2 vòng lặp for...to.do.và thuật toán sắp xếp) f. Tính tổng các số ở vị trí lẻ tính từ trái qua phải Nhờ mọi người giúp CHI TIẾT ạ.

Các câu hỏi liên quan

II. Cho dạng đúng của động từ trong ngoặc. (2ms) 1. When my brother and I (be).....................................................children, we (have).........................................................two cats and a dog. 2. It's 8.00 now. We (learn).............................................................math. At 9.00, we (have).........................................................a history class. 3. Lien's brother is an architect but he (not work).............................at the moment. 4. How much it (cost)......................................... to mail a letter to England? 5. We are decorating our house because we (have).......................a birthday party tonight. 6. They (travel).................................................to the USA next month 7. Would you like me (help)..............................you with your homework tonight? 8. My sister gets used to (go).....................................out on Saturday nights. III. Chọn đáp án đúng để hoàn thành các câu sau. (1,5ms) 1. Playing chess after dinner sounds...................... to me. A. boring B. bored C. boringly D. boredom 2. We may know the land very well, but we know very................. about the oceans. A. few B. little C. much D. a little 3. I received a letter....................my friend yesterday. A. from B. by C. on D. at 4. As a child, he............................ his parents. A. ought obey B. ought obeying C. ought to obey D. ought to obeying 5. She needed..................................these postcards to her friends. A. to send B. sending C. sent D. sends 6. Hung and his brother............................. at home yesterday. A. didn't are B. wasn't C. weren't D. not were 7. She talked to her friends.............................her vacation in da lat. A. about B. on C. with D. for 8. He caused an accident because he was driving too........................... A. fastly B. fast C. very fast D. much fast 9. Of all the students in my class, Nam is............................ A. tallest B. taller C. tall D. the tallest 10........................... my next birthday. A. I am 14 on B. I will be 14th C. I will be 14 on D. I am going to be 14 on 11. Are there........................ for me this morning? A. any letters B. Letter C. any letter D. some letters 12. My father is a......................... football player. A. skill B. skilled C. skillfully D. skillful 13. My sister doesn't want to drink coffee,and......................... A. I do either B. I do, too C. so do I D. neither do I 14. Tuan is a good student. He always answers the teacher's questions......... A. quick B. quickly C. too quick D. very quick 15. Living in the city is.......................than in the countryside. A. more noisy B. noisier C. noisyer D. less noisy