Bài 1: nhập vào số n bất kì từ bàn phím viết chương trình tính tổng các số chẵn nhỏ hơn n và , in kết quả ra màn hình bài 2: viết chương trình nhập vào 1 dãy số bất kì từ bàn phím rồi tính tổng các số chẵn trong dãy số , in kết quả đó ra màn hình bài 3 : viết chương trình nhập vào 1 dãy số bất kì từ bàn phím rồi giá trị trung bình của dãy số đó in kết quả ra màn hình.

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

Fill in the blank with the correct form of the word given: Right after the (complete) …………… of the new aircraft, the space shuttle will be replaced. * 1 điểm A. completing B. completion C. completement D. completive Choose the sentence that has the same meaning as the first one: I haven’t seen the alien yet. * 1 điểm A. I have ever seen the alien before. B. I have never seen the alien. C. I have already seen the alien. D. I haven’t been seen the alien. Find the word which has a different sound in the part underlined: * 1 điểm A. mood B. moon C. good D. soon Choose the best answer: I believe that our new manager has the ............ to work well in this business environment. * 1 điểm A. inflexible B. flexibly C. flexibility D. flexible Choose the sentence that has the same meaning as the first one: After she had explained everything clearly, we started our work. * 1 điểm A. We started our work after she has explained everything clearly. B. We started our work after she had explain everything clearly. C. Before we started our work, she had explained everything clearly. D. Before she explained everything clearly, we had started our work. Find the word which has a different sound in the part underlined: * 1 điểm A. deaf B. leaf C. meat D. heat Choose the sentence that has the same meaning as the first one: If the cable TV doesn’t work, we will rent a DVD. * 1 điểm A. We will rent a DVD unless the cable TV doesn’t work. B. We will rent a DVD unless the cable TV works. C. Unless the cable TV not work, we will rent a DVD. D. Unless the cable TV works, we will rent a DVD. Choose the best answer: I think this boy knows how ........ a computer properly. * 1 điểm A. to connect B. connecting C. connected D. connect Choose the best answer: We are learing new words ............. impvove English. * 1 điểm A. order to B. so to as C. so that D. in order to Fill in the blank with the correct form of the word given: There are 45 (attend) ........... today. * 1 điểm A. attenders B. attentions C. attendances D. attendors Find the word which has a different sound in the part underlined: * 1 điểm A. exhaust B. hour C. honest D. house Find the word which has a different sound in the part underlined: * 1 điểm A. other B. leather C. wealthy D. brother Tùy chọn 5 Choose the best answer: If you behave yourself well, your parents will seem ………….. very happy. * 1 điểm be to be are were Choose the best answer: The train ................ at the station yet. 1 điểm A. didn’t arrive B. hasn’t arrived C. isn’t arriving doesn’t arrive Choose the best answer: American rarely shake hands to say goodbye, except ........... business occasions. * 1 điểm A. during B. at C. on D. in Fill in the blank with the correct form of the word given: Body language can be very (effect) ……….… in conveying our messages. 1 điểm A. effective B.effected C. affected D. affective Find the word which has a different sound in the part underlined: * 1 điểm A. allow B. follow C. yellow D. fellow Fill in the blank with the correct form of the word given: You should ask someone’s (permit) …………… before posting anything about them on the web. * 1 điểm A. permition B. permision C. permission D. permitment Choose the best answer: My father shouted at me, ……………. made me feel sorrow. * 1 điểm A. that B. who C. whose D. which Choose the best answer: Would you mind ............... me a cup of tea? * 1 điểm A. make B. making C. to make D. made các bạn giúp mk vs !!!!!!