Số nguyên dương n(n<=150) và dãy n số nguyên dương a1,a2 ,a3 ... an, mỗi số đều không vượt quá 100 a)kiểm tra dãy số đó có phải là cấp số cộng hay không? b)Tìm trong dãy số có bao nhiêu số = 5 c)tính trung bình tổng d)tính tổng các số chẵn & các số lẻ trong dãy số đó,đứa kết quả ra màn hình

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

III.(REPORTED SPEECH: WH-QUESTIONS) Change these questions into Reported Speech: 1. “Where does your father work?” The teacher asked me ……………………………………………………………………………. 2. “How many people are there in your family?” She asked Lan ……………………………………………………………………………. 3. Tam’s friend asked him “How long will you stay in England?” ……………………………………………………………………………. 4. "Where have you been?" the mother asked her daughter. ……………………………………………………………………………. 5. Lien said to her teacher “What can we do to help him?” ……………………………………………………………………………. 6. “How did you go to the airport?” His friend asked him ……………………………………………………………………………. 7. “How much does this dress cost?” Lan asked Lien ……………………………………………………………………………. 8. Ba asked Tam “How often do you wash your clothes?” ……………………………………………………………………………. 9. “When will your father leave Vietnam for the USA?” Phong asked Thu ……………………………………………………………………………. 10. “What are our children doing in the room ?”Mr. Nguyen asked his wife. …………………………………………………………………………….