answersLogoWhite

0

The flowchart in deriving the largest of three (3) numbers, You may follow the steps provided below:

Input for A,B,C

3,2,1

2,1,3

1,2,3

1,3,2

2,3,1

2,2,3

# Draw the start symbol then a flow line connecting to item #2 # Draw the init box for the syntax: set variable_A=0, variable_B=0, variable_C=0 then a flow line connecting to item #3 # Draw the input box and write variable_A and a flow line connecting to item #4 # Draw the decision box for 'Is variable_A not numeric?'. If yes, then a flow line connecting to item #3 else a flow line connecting to item #5 # Draw the input box and write variable_B and a flow line connecting to item #6 # Draw the decision box for 'Is variable_B not numeric?'. If yes, then a flow line connecting to item #5 else a flow line connecting to item #7 # Draw the input box and write variable_C and a flow line connecting to item #8 # Draw the decision box for 'Is variable_C not numeric?'. If yes, then a flow line connecting to item #7 else a flow line connecting to item #9 # Draw the decision box for 'Is variable_A>variable_B?'. if yes, then a flow line connecting to item #10 else a flow line connecting to item #12 # Draw the decision box for 'Is variable_B>variable_C?'. if yes, then draw the output box for the syntax: variable_A, variable_B, variable_C and a flow line connecting to item #14 else a flow line connecting to item #11 # Draw the decision box for 'If variable_A>variable_C?. if yes, then draw the output box for the syntax: variable_A, variable_C, variable_B and a flow line connecting to item #14 else, draw the process box for the syntax: variable_C, variable_A, variable_B and a flow line connecting to item #14 # Draw the decision box for 'Is variable_A>variable_C?'. if yes, then draw the output box for the syntax: variable_B, variable_A, variable_C and a flow line connecting to item #14 else a flow line connecting to item #13 # Draw the decision box for 'If variable_B>variable_C?. if yes, then draw the output box for the syntax: variable_B, variable_C, variable_A and a flow line connecting to item #14 else, draw the process box for the syntax: variable_C, variable_B, variable_A and a flow line connecting to item #14 # Draw the decision box for 'Are there more numbers to compare?'. If yes, a flow line connecting to item #2 else a flow line connecting to item #15 # Draw the end symbol.

Where:

variable_A contains the first number, variable_B contains the second number and variable_C contains the third number.

Note:

The sequence of variable display is from largest to lowest accordingly.

User Avatar

Wiki User

15y ago

Still curious? Ask our experts.

Chat with our AI personalities

FranFran
I've made my fair share of mistakes, and if I can help you avoid a few, I'd sure like to try.
Chat with Fran
EzraEzra
Faith is not about having all the answers, but learning to ask the right questions.
Chat with Ezra
ViviVivi
Your ride-or-die bestie who's seen you through every high and low.
Chat with Vivi

Add your answer:

Earn +20 pts
Q: Draw a flowchart diagram to find the largest of 3 numbers?
Write your answer...
Submit
Still have questions?
magnify glass
imp