Computer Science, asked by myselfsharmistha, 6 months ago

10. Draw a flowchart to input 10 numbers and find their sum.​

Answers

Answered by monalisachowdhury833
5

Answer:

IT YOUR ANSWER..ITS VERY EASY

Attachments:
Answered by priyadarshinibhowal2
1

Flowchart:

  • When we start drawing a flowchart, we should be aware of the shapes that are used for each step and their purposes required in the program. Now, when terminal positions of the program that is Start and End need to be indicated for the program, an oval is used. When we have to input any data from the user or just initialize data, a parallelogram is used to indicate the same. When we need to print an output that is some data, we also need to indicate this with the help of a parallelogram.
  • When we want to indicate a process that takes place in the program, a rectangle is used to represent a same. An arrow is put in the flowchart between every shape to indicate the flow of the program. When we want to add a decision or any types of loops, a rhombus is used to represent the same in the program.

Here, according to the given information, we are given that,

We need to draw a flowchart where ten numbers are taken via user input and then the sum of the ten values is printed accordingly.

The flowchart will start with 'Start' in an oval.

Then, an arrow leads to a rectangle that initializes i and sum to be 0.

Then, an arrow leads to a rhombus that checks if i is less than or equal to 0.

Then, an arrow leads to a parallelogram where n is inputted.

Then, an arrow leads to a rectangle where the sum of the number is calculated and i is incremented by 1.

This loop arrow goes back up to denote the continuation of the loop.

Then, an arrow leads to a rhombus where the sum is printed.

Then, the arrow leads to an oval which says End.

Hence, the flowchart is drawn accordingly.

Learn more here

brainly.in/question/6051979

#SPJ3

Attachments:
Similar questions