For Ex 4) Just include the post and precondition. There other instructions included in the question has already been completed. Thank you

Np Ms Office 365/Excel 2016 I Ntermed
1st Edition
ISBN:9781337508841
Author:Carey
Publisher:Carey
Chapter8: Working With Advanced Functions
Section: Chapter Questions
Problem 1.7CP
icon
Related questions
Topic Video
Question

Please help me with the questions. Below I am having trouble understanding what to do. For Ex 4) Just include the post and precondition. There other instructions included in the question has already been completed. Thank you

Ex 4) Trace the following flowchart for when input values are 12, 2, -3, 6, -11, -3, 1, -1 and
complete the trace table. Also, write pre- post-conditions for this flowchart.
start
ent1 ( 0
cnt2+0
i-1
i-i+1
num
i≤4
num<0
T
cnt1 a cnt1 + 1
T
i 1
F
i≤4
i+i+1
F
T
cnt1=cnt2
num
T
"no"
"yes"
num>0
T
cnt2 cnt2+1
end
Transcribed Image Text:Ex 4) Trace the following flowchart for when input values are 12, 2, -3, 6, -11, -3, 1, -1 and complete the trace table. Also, write pre- post-conditions for this flowchart. start ent1 ( 0 cnt2+0 i-1 i-i+1 num i≤4 num<0 T cnt1 a cnt1 + 1 T i 1 F i≤4 i+i+1 F T cnt1=cnt2 num T "no" "yes" num>0 T cnt2 cnt2+1 end
Expert Solution
steps

Step by step

Solved in 3 steps

Blurred answer
Knowledge Booster
Instruction Format
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Np Ms Office 365/Excel 2016 I Ntermed
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:
9780357392676
Author:
FREUND, Steven
Publisher:
CENGAGE L