/* Writing a program is actually a methodology. Help us see the world from another angle and see the nature of things.
As early as 2000 years ago in the fable, the foolish public and the wise old man's question and answer has embodied the entire project realization procedure. */
public class Move Mountain {
string people;
public static void Main (string[] args)
while (mountain not flat)
{
Digging mountains;
if (I die)
i = my son;
}
Yamadaira
}
/* For you can not learn to write the program problem * *
Public class learns to write programs {
string people;
public static void Main (string[] args)
if (congenital retarded &&! acquired laziness)
Can learn to write programs;
While (people are not dead)
{
if (! ( Illness | | Cannot act | | Unexpected emergencies))
{
if (day cold)
{
Wear clothes;
Toiletries
}
else if (days hot)
{
Toiletries
Wear clothes;
}
}
Else
{
Skip the day;
}
}
/* The first task of programming is to analyze the problem clearly, clarify the logical relationship, and then program the implementation. The good habit is to draw the program flowchart before each programming, to consider what each step should do, and the next work can be done more quickly.
*/
About language
public class Language {
string people;
public static void Main (string[] args)
If (already familiar with a language)
Can master a language within two weeks and begin to skillfully program;
Else
Seize the time to master a door first;
}
"Boulevard to Jane" the first chapter of Java pseudo-code