资讯

Before designing an algorithm it is important to first understand what the problem is. Algorithms can be designed using pseudocode or a flowchart, and the standard notations of each should be known.
Creating a program from an algorithm Consider this simple problem. A cinema is offering discount tickets to anyone who is under 15. Decomposing this problem, gives this algorithm : ...