The first chapter of "Boulevard to Jane" (written in Java Pseudo-code form)

Source: Internet
Author: User

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)

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.