9. What is the equivalent Pseudo Code for the flowchart in question 8? a.1. Start b.1. Start c. 1. Start d.1. Start 2. Input x, y 3. If x 2 then Increment x by 2 3. If x 2 then Increment x by 2 5....


please answer question 9


9. What is the equivalent Pseudo Code for the flowchart in question 8?<br>a.1. Start<br>b.1. Start<br>c. 1. Start<br>d.1. Start<br>2. Input x, y<br>3. If x < y then<br>Print y-6 else Print x<br>2. Let x = 5, y = 8<br>3. If x < y then<br>Print y-6<br>4. Print x<br>2. Let x = 5, y = 8<br>2. Let x = 5, y = 8<br>3. If x < y then<br>Print y- 6 else Print x<br>4. If y <> 2 then<br>Increment x by 2<br>3. If x < y then<br>4. If y <> 2 then<br>Increment x by 2<br>5. Print x, y<br>Print y-6 else Print x<br>4. If y <> 2 then<br>Increment x by 2<br>5. If y <> 2 then<br>Increment x by 2<br>5. Print x, y<br>else Print x, y<br>6. Stop<br>6. Stop<br>6. Print x, y<br>5. Stop<br>7. Stop<br>

Extracted text: 9. What is the equivalent Pseudo Code for the flowchart in question 8? a.1. Start b.1. Start c. 1. Start d.1. Start 2. Input x, y 3. If x < y="" then="" print="" y-6="" else="" print="" x="" 2.="" let="" x="5," y="8" 3.="" if="" x="">< y="" then="" print="" y-6="" 4.="" print="" x="" 2.="" let="" x="5," y="8" 2.="" let="" x="5," y="8" 3.="" if="" x="">< y="" then="" print="" y-="" 6="" else="" print="" x="" 4.="" if="" y=""><> 2 then Increment x by 2 3. If x < y="" then="" 4.="" if="" y=""><> 2 then Increment x by 2 5. Print x, y Print y-6 else Print x 4. If y <> 2 then Increment x by 2 5. If y <> 2 then Increment x by 2 5. Print x, y else Print x, y 6. Stop 6. Stop 6. Print x, y 5. Stop 7. Stop
8. What is the output for the following flowchart?<br>Start<br>x = 5, y = 8<br>No<br>x < y<br>Print x<br>Yes<br>Print y- 6<br>Yes<br>y <> 2<br>x = x + 2<br>No<br>Print x, y<br>Stop<br>a. 8 7 8<br>b. 27 8<br>C. 2 5 8<br>d. 2 7 2<br>

Extracted text: 8. What is the output for the following flowchart? Start x = 5, y = 8 No x < y="" print="" x="" yes="" print="" y-="" 6="" yes="" y=""><> 2 x = x + 2 No Print x, y Stop a. 8 7 8 b. 27 8 C. 2 5 8 d. 2 7 2

Jun 06, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here