Rewrite the following pseudocode using proper indentation
START
y=0
x=y+1
READ z
IF z > 50 THEN
x = x + 5
IF x > 5 THEN
y = x
ELSE
y = 0
ENDIF
ENDIF
z = x + y
STOP
Eric O.
answered 07/17/21
B.S. Mechanical Engineering with 5+ years MATLAB Tutoring Experience
START
y=0
x=y+1
READ z
IF z > 50 THEN
x = x + 5
IF x > 5 THEN
y = x
ELSE
y = 0
ENDIF
ENDIF
z = x + y
STOP
Still looking for help? Get the right answer, fast.
OR
Find an Online Tutor Now
Choose an expert and meet online.
No packages or subscriptions, pay only for the time you need.