Computer Science, asked by Angel291, 11 months ago

Anyone know how to make flowchart ??? Plz explain diamond and how to make decisions from where arrow and all this

Attachments:

Answers

Answered by dikshaverma4you
23

Q. What is a Flow-Chart ?

=> A flowchart is a pictorial representation of step by step solution of a problem.

In C++ , flowcharts are used  to write the steps to solve an algorithm.

In C++, different figures have different purposes to carry out the procedure .

I have attached the pic in which purposes of every symbol are mentioned. Kindly have a look at that.


Now, coming to your question.

First of all let us try to understand, what this flowchart means .

1) First of all by the OVAL figure the program is started.

2) Then by the RECTANGLE figure, the value of CT = 1 has been set.

3) Then by the PARALLELOGRAM figure, the input E and C have been taken.

4) Then again by the RECTANGLE figure, the sum statement is passed for E and C.

5) Then again the PARALLELOGRAM figure is used to print the output of the sum of E and C.

6) Then again the RECTANGLE figure is used to pass a statement .

7) Now after this statement , DIAMOND figure is used for passing the IF statement.

First of all understand the purpose of a diamond box.

Diamond Box is also known as Decision Box. In the above question , an IF statement is passed which will make a decision. According to this statement, after processing CT = CT + 1 , if the value of CT will be less than 3 then the command of "Sum = E + C" will be executed again but if the value of CT is greater than 3 then the program will stop according to the last statement passed in the OVAL figure.

So this was all about your flowchart. It is easy. Kindly go through the attachment to understand the purpose of different symbols

Attachments:

S4MAEL: great
BrainlyMOSAD: super explanation didi. not explain in word super.
PrincessNumera: Awesome didi ! Thanks for helping Mahak !!
dikshaverma4you: Thank you all :)
Answered by jacobcunningham202
2

Items you will need

   Paper

   Pencil

Draw an oval on a piece of paper and write the start point of your flow chart inside this shape. You can simply write “start,” or you can use this area to define the problem or process being explored, such as “Client registering for conference.”

Draw a rectangle to indicate the next action that will take place. Using the previous example, you may have two possible actions, “Client calls office” and “Client visits online registration.”

Connect the start box with the actions using a straight line with a small arrow at the end. The arrow will point away from the start point, toward the action box to indicate the direction that the flow chart is going in.

Continue the flow chart to include subsequent actions or decisions. Actions will be in rectangles. Decisions will appear in diamonds. After the client calls the office, a decision may be, “Which conference are you registering for?” This will then lead off to the possible conferences and the relevant registration questions for each. An action should only have one subsequent arrow leading away from it while a decision can have many.

Connect each action and decision to the next action or decision throughout the chart. In complicated flow charts, an action may have more than one decision pointing to it, as multiple decisions can result in the same action.

Draw actions and decisions throughout the process of the chart until you arrive at a conclusion. This end point will be contained in an oval, just as the starting point was. You can label it with “Finish” or use a more descriptive phrase such as “Registration complete.” The finish point should always be the bottommost point on your chart if it progresses downward or the farthest point to the right if the chart progresses from left to right. You can have more than one end point.

Similar questions