Hot Student Stories

# Flow chart to compute the average of N number?

#### 1 answer

### Add you answer

##### Wanna comment?

Please Sign In / Sign Up

The flow diagram in obtaining of the sum of two numbers and their average, you can follow the steps below: . Draw the start symbol then a flow line connecting to item #2 Dpremiums, the start of the box for the syntax: set variable_Sum=0, variable_Ave=0, Variable_A=0, Variable_B=0 then a flow line connecting the point #3 Draw in the first input box and write variable_A then a flow line connecting to item #4 to Draw the decision box for 'Is variable_A not numeric?'. if yes, draw a flow line connecting to item#3 else draw a flow line connecting to item #5 Draw the second input box and write variable_B then a flow line connecting to item #6 Draw the decision box for 'Is variable_B not numeric?'. if yes, draw a flow line connecting to item#5 else draw a flow line connecting to item #7 Draw the first process box for the syntax: compute variable_Sum=variable_A + variable_B then a flow line connecting to item #8 Draw the second process box for the syntax: compute variable_Ave=variable_sum / 2 then a flow line connecting to item #9 Draw the output box and write variable_Sum, variable_Ave, then a flow line connecting to item #10 Draw the final symbol. Where: variable_A contains the first number, variable_B contains the second number, variable_Sum contains the sum of variable_A and variable_B, and variable_Ave contains the average of variable_Sum. The last time I checked the LETTER "N" is not a number