????4.????????ж????

????????????ж???????????????

????1?????????????????????????????

????2??if/else??????????

????3????????????????ж??????

????4????????????????ж??

????5.??????????

?????????????????????????

????1???κ????????????

????2?????????????????

????3????????????????????????for?????

????4???????????????塣

????5??????????????????

????6.?????????

?????????????????????????

????1?????????????????????????

????2????????????鶼????????????

????3???????????????????????????

????4?????????????????????????????????塣

????5?????????????塢??????

????6???????????????????????

????7.??????

???????????????????????????

????1???????????????????

????2??????????????????????

????3???????????????????

????4???????????????

????5???????д???д???????????

????6???????в??????????????????????

????7?????????????