Fortune Telling Collection - Comprehensive fortune-telling - Enter a name at random, and then output the last name and the first name respectively. How to write the code thank you
Enter a name at random, and then output the last name and the first name respectively. How to write the code thank you
Make a case
Alltrim = 4
Left (Full Trim, 2), Right (Full Trim, 2)
Case length (name) =6
Left (Full Trim, 2), Right (Full Trim, 4)
Case len (name) =8
Left (Full Trim, 4), Right (Full Trim, 4)
Close the case
The main functions of the source code are as follows:
Generate the target code, that is, the code that the computer can recognize.
Explain the software, that is, explain the writing of the software. Many beginners, even a few experienced programmers, ignore the compilation of software instructions, because this part will not be directly displayed in the generated program and will not participate in the compilation.
However, it is of great benefit to software learning, sharing, maintenance and software reuse. Therefore, writing software instructions is considered to be a good habit to create excellent programs in the industry, and some companies also force it to be written.
It should be pointed out that modifying the source code cannot change the generated target code. If the target code needs to be modified accordingly, it must be recompiled.
- Previous article:Tonghai fortune-telling quasi _ Tonghai fortune-telling
- Next article:A master fortune teller and a golden palm.
- Related articles
- The Historical Evolution of Guantang Township
- A short story of fortune telling for the champion _ a story of fortune telling for the champion.
- What does Daoism need to provide?
- What should my wife do if she looks down on me and hits me when she gets rich?
- Which place in Anhui tells fortune _ Which place in Anhui tells fortune most accurately?
- Live Fortune Telling _ Live Fortune Telling sent people away again.
- I want to ask a person who works for cattle if he can bring a mouse pendant.
- Is it easy for Gushi Hu people to get to Huaibin Road?
- Male, 1983 national calendar 65438+February 1 7 pm (fortune telling)
- What does it mean to turn the good luck brought by a bad star into dust, turn fake into fake, and become sworn brothers and sisters?