improve engr-2350-quiz-02

This commit is contained in:
JamesFlare1212
2025-02-14 00:20:10 -05:00
parent aebff3d595
commit 2f3f75d3f2
2 changed files with 4 additions and 4 deletions

View File

@@ -100,8 +100,8 @@ if (!PB1 && !PB2){
> Convert the flow chart to an equivalent segment of code. > Convert the flow chart to an equivalent segment of code.
> >
> ```mermaid > ```mermaid
> flowchart TB > flowchart LR
> A([Start]) --> B{"Are a and b\nboth zero?"} > A([Start]) --> B{Are a and b<br/>both zero?}
> B -- Yes --> C([Done]) > B -- Yes --> C([Done])
> B -- No --> D[Divide a by 2<br/>and save back into a] > B -- No --> D[Divide a by 2<br/>and save back into a]
> D --> E[Multiply b by a<br/>and save back into b] > D --> E[Multiply b by a<br/>and save back into b]

View File

@@ -101,8 +101,8 @@ if (!PB1 && !PB2){
> 将流程图转换为等效的代码段。 > 将流程图转换为等效的代码段。
> >
> ```mermaid > ```mermaid
> flowchart TB > flowchart LR
> A([Start]) --> B{"Are a and b\nboth zero?"} > A([Start]) --> B{Are a and b<br/>both zero?}
> B -- Yes --> C([Done]) > B -- Yes --> C([Done])
> B -- No --> D[Divide a by 2<br/>and save back into a] > B -- No --> D[Divide a by 2<br/>and save back into a]
> D --> E[Multiply b by a<br/>and save back into b] > D --> E[Multiply b by a<br/>and save back into b]