The first chapter of "Boulevard to Jane"--the fine intention of programming (Java Pseudo-code)

Source: Internet
Author: User

1.

/*
Yugong Yishan

Original demand: Punish the north of the plug, access to the roundabout;

Project communication: Gather room and seek Yue;

Project Objective: Biliping insurance, refers to the south of the south, up to Hanyin;

Technical solution: Buckle stone ken Soil, Ji Hod transported in the tail of the Bohai Sea;

Personnel composition: The Sons of Fools Mitsuo, the neighbor of the capital of the Widows wife, a man, beginning ageing, jump to help;

*/

public class Move Mountain {//define a move Mountain class

String people; Data members

public static void Main (string[] args)//define main program

while (mountain not flat) {

Digging mountains;

if (I die)

{

i = my son;

}

                                  nbsp                          ,         &NB Sp                          ,         &NB Sp                          ,         &NB Sp                          ,         &NB Sp                          ,         &NB Sp                          ,         &NB Sp               Yamadaira;                   &nbsp                          ,         &NB Sp                          ,         &NB Sp                          ,         &NB Sp                          ,         &NB Sp                          ,         &NB Sp                          ,         &NB Sp                      }  

2.

/*

Get up in the morning

If the weather is cold, first wear clothes after washing;

If the heat of the day can be reverse;

Day after day till death;

If there is an emergency which is similar to sickness, inability to act, and accident, the day may be skipped;

*/

public class Get up {

public static void Main (string[] args) {//define main function

While (people not dead) {

if (! ( Illness, inability to act, and unexpected emergencies))

{if (day cold)

{Wear clothes;

Toiletries

}

Else

Toiletries

Wear clothes;

}

}

}

People die;

}

}

3.

/*

program = algorithm + structure

First, the analysis of the matter clearly, the logical relationship between the event and the dependence of the relationship to clarify;

Then design the program structure;

Finally, it is implemented by code;

*/

public class Program {

public static void Main (string[] args) {

First= analysis procedure;

Second= design procedure;

thied= implementation procedures;

if (First&&second&&third)

Complete the procedure;

}

}

4.

Language

public class Language {

public static void Main (string[] args) {

if (numeric processing)

{Select a language;}

if (graphics processing)

{select B language;}

if (make Web page)

{select c language;}

}

}

5.

Write a program

public class Write program {

public static void Main (string[] args) {

If (already familiar with a language)

Discovery can master a new language and proficiency in programming within two weeks;

Else

Seize the time to master a door first;

if (analytical design of the completion program)

{implemented in code;

Run the program and test it;

}

Optimization program;

}

}

                         ,         &N Bsp                          ,         &NB Sp                          ,         &NB Sp                          ,         &NB Sp                          ,         &NB Sp                          ,         &NB Sp                          ,         &NB Sp                                                            ,         &NB Sp                          ,         &NB Sp                          ,         &NB Sp                          ,         &NB Sp                          ,         &NB Sp                          ,         &NB Sp                                  

The first chapter of "Boulevard to Jane"--the fine intention of programming (Java Pseudo-code)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.