Computer Science, asked by guessme098, 9 months ago

Q8. Write an algorithm & draw a flowchart to calculate the sum & average of five numbers. Q9. Write an algorithm & flowchart to find the factorial of a number. 010. Write an algorithm to find the area of a square.

Answers

Answered by Anonymous
10

Explanation:

First of all, I would like to suggest you to learn a general procedure to draw a flowchart rather than for a specific problem so that it will be helpful to draw a flowchart to any kind of question. So, I will give an idea of the general procedure and symbols used in a flowchart and then illustrate the same with your question as an example(avg of 3 numbers).

General procedure to draw a FLOWCHART:

1. Write a valid algorithm.

2. Use appropriate symbols for each step of your algorithm.

3. Remember, every flowchart begins with a start & ends with a stop.

4. After completing the construction of flowchart using the above steps, check & test it with some example.

5. Finally, your flowchart will be ready :):)

Symbols used in a FLOWCHART:

(I’m just attaching the VERY BASIC symbols we use in a flowchart. However, there are some more symbols but we use them less often for basic programs)

Now, let’s deal the same with an example:

FLOWCHART TO FIND AVERAGE OF 3 INTEGER NUMBERS:

Attachments:
Similar questions