Viết chương trình nhập vào một số nguyên N, thông báo kết quả ra màn hình: a. N là số chẵn hay số lẻ? b. N là số nguyên âm hay nguyên dương? c. N có phải là số nguyên tố hay không? (Biết: số nguyên tố là số chỉ có 2 ước là 1 và chính nó. VD: 3, 5, 7, 11 là các số nguyên tố) d. N có phải một số chính phương hay không? (Biết: Nếu N được phân tích thành bình phương của một số nào đó (N = i*i) thì N là số chính phương. VD: 4, 9, 16, 25 là các số chính phương). Giúp em với ạ !!! CTLHN + 5 SAO + 1CAMON nha!!

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

IV.Make questions with the Wh- question in brackets : 1.Mr.Peter taught English for me in the high school .( Who ) ……………………………………………………………….. 2.They are planting five roses in the garden .( How many ) ……………………………………………………………….. 3.I often listen to music in my free time .(What ) ……………………………………………………………….. 4.My mother is cooking in the kitchen at the moment .( Where ) ……………………………………………………………….. 5.Lan likes playing table tennis .( Which sports ) . ……………………………………………………………….. 6.They go to the beach on the summer holidays .( When ) ……………………………………………………………….. VI .Underline and correct the mistake in each sentence : 1.When did sho go for her holiday ?- In Nha Trang . ……………………………………………………………….. 2.My sister in on the living room with my father . ……………………………………………………………….. 3.Hoa buyed some meat and a lot of fruit yesterday . ……………………………………………………………….. 4.Lan can’t comes to play with us . ……………………………………………………………….. 5.Would you like going to the movies with us ? ……………………………………………………………….. VI .Make questions for underlined parts. 1.They traveled to Hanoi by train . ………………………………………………………………. 2.Hoa didn’t go to school yesterday because she had a bad cold. ……………………………………………………………….

Part V I V I I. Rewrite each of the following sentences in such a way that it means exactly the same as the provided sentence. Write your answer on the answer sheet. 1. The mechanic is repairing his car. 2. "Why don't we visit the Roval Citadel first?" Quang said. -> Quang suggested 3. It's two years since I last spoke to her. -> I haven't 4. Helen plays the piano better than Elizabeth. -> Elizabeth doesn't 5. The weather isn't fine, so we can't go on a picnic. → → If the weather 6. He hasn't returned to his home village for 10 years. → → It's. 7. Nobody informed me about the change of the plan. 8. Minh and his close friend are the same age. → → Minh is 9. The last time Henry smoked a cigarette was in 2015. → → Henry hasn't.... 10. "How much do you think it will cost?" he said to me. → → He asked me … … … … … … 10. "How much do you think it will cost?" he said to me. → → He asked me region. → → The poor people.......... 12. I think that you should read more. → → If I I 13. I don't understand a single word of this letter. → → I can't make .. 14. It's pity I am not good at fixing household appliances. > > I wish... 14. It's pity I am not good at fixing household appliances. 16. He last smoked cigarettes three years ago.-> He hasn't. 17. My parents have just bought a new computer.-> A new computer ......... 19. The girl is very friendly. She lives next door to us. 19. The girl is very friendly. She lives next door to us. 21 He last visited his home village five weeks ago.-> He hasn't .... 22 They have done the homework.-> The homework ..... 23. I am sorry I don't have a new computer.-> I wish ... 24 They sold their motorbike yesterday.-> Their motorbike. 24. "I am writing a letter to Linh." Susan said.-> Susan said .................................................................. 25. "I am writing a letter to Linh." Susan said.-> Susan sald ............. Although ... 20 comnlete sentences. Write yo