Ex 3) Trace the following flowchart for when input values are -10, -1, 3, 2, 11, 13, 1, 0 and complete the trace table. Note that the system may end before all of the inputs have been received; if this occurs you ignore the final inputs. Also, write pre- post-condition for this flowchart. start P n num output n 0 num F num>0 T num<0

Microsoft Visual C#
7th Edition
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Joyce, Farrell.
Chapter5: Looping
Section: Chapter Questions
Problem 7RQ
icon
Related questions
Question

Please help me with this question. I am not understanding what to do 

Using html, css, and js make a js code for the flowchart below

Thank you

Note that you will have to implement several functions that require multiple inputs (e.g. 12, 2, -3, 6,
-11, -3, 1, -1). In these cases, accept as input a comma delimited string (i.e. "12, 2, -3, 6, -11, -3, 1,
-1"). Then, break the comma delimited string into a series of integers for processing with your
algorithm. You may want to research the 'split' method for strings in Javascript to learn how to break
a string apart into many pieces.
G
AFTER-JAR WORKS (THIS PART WILL NOT BE GRADED!
Transcribed Image Text:Note that you will have to implement several functions that require multiple inputs (e.g. 12, 2, -3, 6, -11, -3, 1, -1). In these cases, accept as input a comma delimited string (i.e. "12, 2, -3, 6, -11, -3, 1, -1"). Then, break the comma delimited string into a series of integers for processing with your algorithm. You may want to research the 'split' method for strings in Javascript to learn how to break a string apart into many pieces. G AFTER-JAR WORKS (THIS PART WILL NOT BE GRADED!
Ex 3) Trace the following flowchart for when input values are -10, -1, 3, 2, 11, 13, 1, 0 and
complete the trace table. Note that the system may end before all of the inputs have
been received; if this occurs you ignore the final inputs. Also, write pre- post-conditions
for this flowchart.
start
P
n
num output
p o
n<0
num
num>0
ז
pp+1
num<0
T
n-n+1
num # 0 and
p≤2*n
IF
end
Transcribed Image Text:Ex 3) Trace the following flowchart for when input values are -10, -1, 3, 2, 11, 13, 1, 0 and complete the trace table. Note that the system may end before all of the inputs have been received; if this occurs you ignore the final inputs. Also, write pre- post-conditions for this flowchart. start P n num output p o n<0 num num>0 ז pp+1 num<0 T n-n+1 num # 0 and p≤2*n IF end
Expert Solution
steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Knowledge Booster
Concept of Flowchart
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
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,