From 2f3f75d3f2e31d121827aa8fa9ed163876c038c8 Mon Sep 17 00:00:00 2001 From: JamesFlare1212 Date: Fri, 14 Feb 2025 00:20:10 -0500 Subject: [PATCH] improve engr-2350-quiz-02 --- content/en/posts/engr-2350/quiz02/index.md | 4 ++-- content/zh-cn/posts/engr-2350/quiz02/index.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/content/en/posts/engr-2350/quiz02/index.md b/content/en/posts/engr-2350/quiz02/index.md index 25e0941..e90378b 100644 --- a/content/en/posts/engr-2350/quiz02/index.md +++ b/content/en/posts/engr-2350/quiz02/index.md @@ -100,8 +100,8 @@ if (!PB1 && !PB2){ > Convert the flow chart to an equivalent segment of code. > > ```mermaid -> flowchart TB -> A([Start]) --> B{"Are a and b\nboth zero?"} +> flowchart LR +> A([Start]) --> B{Are a and b
both zero?} > B -- Yes --> C([Done]) > B -- No --> D[Divide a by 2
and save back into a] > D --> E[Multiply b by a
and save back into b] diff --git a/content/zh-cn/posts/engr-2350/quiz02/index.md b/content/zh-cn/posts/engr-2350/quiz02/index.md index 549cfac..0d5f5bb 100644 --- a/content/zh-cn/posts/engr-2350/quiz02/index.md +++ b/content/zh-cn/posts/engr-2350/quiz02/index.md @@ -101,8 +101,8 @@ if (!PB1 && !PB2){ > 将流程图转换为等效的代码段。 > > ```mermaid -> flowchart TB -> A([Start]) --> B{"Are a and b\nboth zero?"} +> flowchart LR +> A([Start]) --> B{Are a and b
both zero?} > B -- Yes --> C([Done]) > B -- No --> D[Divide a by 2
and save back into a] > D --> E[Multiply b by a
and save back into b]