Traditional Culture Encyclopedia - Traditional customs - Demand is expressed by the traditional process.
Demand is expressed by the traditional process.
1. read the input number a.
2. Recycle reading the next number b;
3. Compare A and B, and assign a larger value to A..
4. Continue the cycle until ten numbers are entered.
5, output a is the maximum number.
Tradition is to compare the size, 10, marked, 1, 2, 3... 10.
Then compare 1 with the size of the second one. If 1 is greater than the second, swap the labels of 1 and 2. If 1 is not greater than 2, the second one will not be exchanged, and then the second one and the third one will be compared similarly, and the last one labeled 10 is the largest number.
- Previous article:How to do pole vault?
- Next article:Instructions for compound bone peptide for injection
- Related articles
- The history of the Olympic Games
- What is the difference between ring spinning and rotor spinning?
- Member of the Board of Directors of China Collectors Association.
- What about Xuzhou Zhijie sea volume moving service Co.
- What changes have really been brought about by the N.S.U. teacher's commitment to theater education?
- Yoga's classic moves
- Mid-Autumn Festival Game Activities Planning Scheme
- The Style and Characteristics of Lu You's Poetry in Song Poetry
- The Song Dynasty of Chinese Traditional Dance
- What symbolic meaning does the tortoise represent?