public class Dadaozhijiandiyiduan
{
I. Yugong Yishan
Question: How to finish the mountain
Yugong Yishan is a project
If (a Foolish man dies)
{
There is a child to save Yan;
while (mountain uneven)
{
Son and Sun, Sun and son;
Son to move Mountains;
}
}
Else
Yugong Yishan
Two. Will the problem of writing programs
Programming programs include order, branching and looping
Get up
while (Not dead)
{
if (Sick | | Cannot act | | Unexpected emergency situation)
Skip the day;
Else
if (day cold)
{
Wear clothes;
Toiletries
}
Else
{
Toiletries
Wear clothes;
}
}
Three. program = algorithm + structure
It takes time to work actively and to think diligently.
If (he is an algorithm)
He has only three kinds of execution logic: order, branching, looping;
Four. Language
If (you are familiar with a language)
You will find: The programming language only likes and dislikes the question, does not have the question;
The output chooses a suitable language;
Enter A;
Switch (a)
{
Case 1: Data processing;
Case 2: Graphics processing;
Case 3: Make a Web page;
}
Five. The era of No engineering
if (a person lives in an age without engineering)
{
He can't be a master of engineering;
}
}
The first chapter of "Boulevard to Jane" (written in Java Pseudo-code form)