Start x = 1 y = 1 z = 0 n = 2 z=x+y Print x, y n> 10 Yes Stop Print z No x=y y = z n = n + 1

Systems Architecture
7th Edition
ISBN:9781305080195
Author:Stephen D. Burd
Publisher:Stephen D. Burd
Chapter10: Application Development
Section: Chapter Questions
Problem 6VE
icon
Related questions
Question

Interpret the flowchart and write the algorithm for the program in pseudocode.

Start
x = 1
y = 1
z = 0
n = 2
z=x+y
Print x, y
n> 10
Yes
Stop
Print z
No
x=y
y = z
n = n + 1
Transcribed Image Text:Start x = 1 y = 1 z = 0 n = 2 z=x+y Print x, y n> 10 Yes Stop Print z No x=y y = z n = n + 1
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Systems Architecture
Systems Architecture
Computer Science
ISBN:
9781305080195
Author:
Stephen D. Burd
Publisher:
Cengage Learning