Nhập ngày tháng năm sinh của một người sau đó xem bói cho người ta bằng cách lấy hai số của ngày cộng hai số của tháng cộng 4 số của năm cộng liên tục cho đến khi chỉ còn một số. (Với ngày tháng năm sinh nhập từ bàn phím. Viết chương trình bằng ngôn ngữ pascal và không dùng chương trình con, không dùng FUNCTION ) Ví dụ: Ngày sinh: 12 Tháng sinh: 10 Năm sinh: 2004 => 12+10+2004=2026=2+0+2+6=10=1+0=1 Nếu kết quả là số 1: thì người đó sẽ làm sao Nếu kết quả là số 2: thì người đó tình duyên lận đận Nếu kết quả là số 3: thì ..... (bịa ra) ... Nếu kết quà là số 9: thì .... (bịa ra)

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

1. They ................... students yesterday. a. am b. is c. was d. Were 2. They ............. doctors two years ago. A. am b. is c. was d. Were 3. They ............... farmers last month. A. are b. is c. was d. Were 4. We ....... nurses yesterday. A.are b. is c. was d. Were 5. The weather ........ cold yesterday. A.aren’t b. isn’t c. wasn’t d. weren’t 6. I .........a pupipl last week. A.aren’t b. isn’t c. wasn’t d. weren’t 7. These hats .......new yesterday. A.aren’t b. isn’t c. wasn’t d. weren’t 8. My parents........teacchers two years ago. A.are b. is c. was d. Were 9. He .............a mechanic last Monday. A.aren’t b. is c. wasn’t d. weren’t 10. ... he an engineer yesterday. No, he ...... A.is/ is n’t b.are/aren’t c.was/wasn’t d.were/weren’t 11. .......It hot last week? A. am b. is c. was d. Were 12. The shops ...open last Monday. A. am b. is c. was d. Were 13. .... you a teacher two years ago? Yes ,I....... a.is/ is n’t b.are/aren’t c.were/wasn’t d.was/weren’t 14. Where ......Nam from yesterday? A. am b. is c. was d. Were 15. Why .........they unhappy last Tuesday? A. am b. is c. was d. Were 16. I ... your trip to Nha Trang two years ago. A.remember b.remembers c.remembered d.rememberred 17. Ba ........ the cap all day yesterday. A. wear b. wears c. weared d. wore 18. We ..........a lot of fish yesterday. A. eated b. ate c. eats d. Eat 19. Her aunt ......... her to see Cham Temple last year. A .taked b. took c. take d. Takes 20. Tuan ......... a new bike yesterday. A. haved b. has c. had d. Have 21. She............... a new ruler yesterday. A.didn’t buy b.doesn’t bought c.did buy d.didn’t bought 22. He ........................ with his parents about his vacation in Da Lat last year. a. don’t talk b. doesn’t talked c. didn’t talked d. Talked 23. They........... school yesterday a. didn’t comed b. didn’t come c. doesn’t comed d. doesn’t come 24. The windows ........... yesterday a. didn’t close b. didn’t closed c. doesn’t closed d. doesn’t close 25. We ………..at home at 7 p.m last Monday. a. didn’t return b. didn’t returned c.doesn’t return d. doesn’t returned