Pseudocode and Flowchart

Source: Internet
Author: User

Pseudocode and Flowchart

I. Syntax Rules of pseudocode
(1) In pseudocode, each command occupies one line;

(2) The command is not followed by any symbol (the statement in C should end with a semicolon );
(3) The "indent" in the writing indicates the branch program structure in the program. The statements of the level-1 module are indented to those of its parent module;

(4) The content after the △ symbol represents a comment;

(5) variables do not need to be declared in pseudo-code, but global variables must be declared when a global variable is referenced;

(6) assign values using values;

(7) variable names and reserved words are not differentiated from upper-level writing;

(8) call is used during the call process, and return is used;

The other is the programming language you selected.

Ii. flowchart rules

(1) judge and use;

(2) process use;

(3) start to use;

(4) end use;

(5) Use a directed line to indicate the process progress;

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.