Computer Science, asked by sanjaikumar4578, 8 months ago

Draw a flowchart which gets two number and prints sum of their value?

Answers

Answered by Rameshjangid
1

Answer:

Simple procedures or programmes are designed and documented using flowcharts. They aid in visualising the process, much as other kinds of diagrams. Flaws and bottlenecks may become visible is only one of the numerous advantages.

Explanation:

Step 1:printf ("Enter two integers:") scanf ("%d%d", &number1, &number2) The total of these two values is then combined together using the + operator and kept in the sum variable. The total of integers is displayed using the printf() function. "%d + %d =%d," number1, number2, and total are printed.

Step 2:The following three kinds of flowcharts were detailed in a book written by Andrew Veronis in 1987 titled Microprocessors: Design and Application:

system flowchart

a broad flowchart

a thorough flowchart.

Step 3: A process is graphically represented in a flowchart. It is a diagram that uses symbols, lines, and shapes to show the workflow necessary to do a job or collection of activities. Flowcharts are used in a variety of areas to examine, enhance, and explain processes.

Learn more about similar questions visit:

https://brainly.in/question/45149703?referrer=searchResults

https://brainly.in/question/28101316?referrer=searchResults

#SPJ2

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 two numbers are taken via user input and then the sum of the two values is printed accordingly.

Here,

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

Then, the arrow leads to a parallelogram that inputs the first number A.

Next, the arrow leads to another parallelogram that inputs the second number B.

Next, the arrow leads to a rectangle that sums up the two numbers, that is, C = A + B.

In the next parallelogram, the sum is printed.

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

Hence, the flowchart is drawn accordingly.

Learn more here

https://brainly.in/question/6051979

#SPJ2

Attachments:
Similar questions