Current location - Training Enrollment Network - Mathematics courses - [C++] Please provide some clever and interesting computer exercises (3~4 questions are enough).
[C++] Please provide some clever and interesting computer exercises (3~4 questions are enough).
/kor pus/blog/item/ 165756 fdebdece 1308244 d2e . html

C/C++ Language Classic Practical Fun Programming (1) Monday, June 4th, 2007 at 20:18c/One hundred examples of C++Language Classic Practical Fun Programming (1) 1. Draw cosine curve 2. Draw cosine curve and straight line 3. Draw a circle 4. Singer Grand Prix 5. Find the maximum number of 6. Factorial mantissa 7. The number of factorial mantissa zeros is 8. How much do you know about the loan plan? Yang hui triangle 10. Digital system conversion 65438+ 438+03. How much should I deposit? 14. How to save money and make the most money? 15. Fishing and sharing fish? 16. Selling goldfish? 17. Divide seven baskets of fish equally? 18. Limit five digits? 19.8. Endless natural numbers? 20. A strange three. 24. Armstrong 25 Perfect number 26. Intimacy 27. Self-discipline article 28. Palindrome on the 29th. Find abcd=(ab+cd) 2. Natural four-digit 30. Find the prime number 3 1. Goldbach conjecture 32. Reversible prime number 33. Palindrome prime number 34. Send it if you want. Prime cube 36. One hundred dollars and a hundred chickens. Einstein's math problem 38. Exchange cents for 39. Age geometry 40. Tricolor ball problem 4 1. Math problem 42 in Marx's manuscript is decomposed into Egyptian score 46. List the true score sequence 47. Calculate the exact value of the score 48. Bride and bride 49. Assign tasks. Who is lying 5 1. Who is the thief? Black and white 53. The mystery of Doctor Who (1)54. The mystery of Doctor Who (2) 55. Which doctor is on duty on which day? 56. Distinguish the nationality of passengers. 57. Whose child runs the slowest. 58. Latin Square. 59. Fill in the form. 60. 1~9 is divided into three 3-digit squares of 6 1. 1~9. 62. Eight integers make up a strange cube. 66. Reduction by division (1)67. Division and reduction (II) 68. Nine-digit progressive divisible number 69. Magic guess (1)70. Magic quiz (2) 7 1. Josephus problem 72. Stamp set 73. The sum of five positive integers that can express 1~23 74. It can be called 1~40 pounds of four weights 75. 10 children divide candy 76. Xiaoming buys books. Interesting question of 78 points for Bouzon tile wine. Find the approximation of π 79. 80. An interesting property of odd square 8 1. Corner valley conjecture 82. Quadrant theorem 83. Kaburek's constant is 84. Nicochez theorem 85. The formation of palindromes 86. Automatic licensing. Black and white exchange 88. The ever-victorious general 89. Grab 3090. Yishan 9 1. Man-machine guessing game 92. Man-machine 93. Hanoi Tower. The child was born at 95. Arabic numerals are converted into Roman numerals 96. A beauty contest. Sequences satisfying special conditions 98. Eight queens question 99. Addition of super-long positive integer 100. The numbers will move.