Look at the flow chart, write the code.

zhaozj2021-02-16  77

Look at the flow chart, write the code.

First see example, where t is True, f represents false.

Example 1:

The code of this flowchart is written as follows:

DO

{A;}

While

(C);

Example 2: The code of Example 2 can be written like this:

While

(C)

{A;}

Please write the code according to the following flowchart, you cannot use GOTO, or IF cannot be used.

Do this within 10 minutes.

转载请注明原文地址:https://www.9cbs.com/read-15718.html

New Post(0)