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;