1. The fine meaning of programming
Yugong Yishan
public class yugong{
public static void Main (String[]args) {
while (mountain not flat) {
If (The Foolish man dies) has the son to reply the Yan;
Son and Sun, Sun and son,//while cycle can be guaranteed in Yamadaira before the descendants, the infinite chamber Also
Buckle stone Ken Soil, Ji Hod in the Bohai Sea tail;//jump out of the condition of the cycle, the mountain does not increase
}
System.out.println ("The mountain is flat, refers to the south of the south, up to Hanyin");//indicates that the while loop has jumped out
}
}
2. About whether to program
public class biancheng{
public static void Main (String[]args) {
If (You are born mentally retarded | | You are too lazy) {
System.out.println ("You don't want to learn to program");
Return
}
While (day after day until death) {
If (you know, cold weather can first wear clothes after washing | | You know it's hot, you can wear it and wash it first.
System.out.println ("You can learn to program");
If (you know there are special cases that can be special on that day) System.out.println ("You can develop to designers");
}
}
}
3. program = algorithm + structure
public class chengxu{
public static void Main (String[]args) {
If (receives a programming task) {
The analysis of events clearly, the logical relationship between the incident and the dependence of the relationship to clarify;
code implementation;//What's left is physical activity.
}
if (if you come up and knock) System.out.println ("You are the most overtime programmer");
It takes time to work actively and to think diligently.
}
}
4. Programming languages
public class language{
public static void Main (String[]args) {
If (you are familiar with a language) System.out.println ("The language is basically similar to a problem that only likes to dislike");
Small difference, a little training can also master other languages
}
}
5. The era of No engineering
public class end{
public static void Main (String[]args) {
if (Mastering a language && understanding some common logic && the algorithm that will be learned to run on the data structure)
System.out.println ("Successfully write a program");
while (no project) {
SYSTEM.OUT.PRINTLN ("There are many masters, there is no engineer");
If (appears works) break; There was an opportunity for engineering, and engineers appeared.
}
SYSTEM.OUT.PRINTLN ("Engineering age, the Birth of Engineers");
}
}
Boulevard to Jane chapter I java pseudo code