Draw a flowchart to print number 1 to 10
Answers
Answered by
4
Step-by-step explanation:
Hope,it will help you...
Attachments:
Answered by
3
Step-by-step explanation:
- 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, the flowchart is given by.
Start
|
c = 1
|-------------------------------
No ---- Is c < 11 ----- Yes |
| | |
Stop Print c |
| |
c = c + 1 ---|
- Here the start and end are in ovals, c=1 and c=c+1 are in rectangles, Is c<11 is in a rhombus and print c is in a parallelogram.
Learn more here
https://brainly.in/question/10795400
Learn more
https://brainly.in/question/34273100
Similar questions