asked 105k views
3 votes
Draw the flowchart of odd number between 10 to 50

1 Answer

1 vote

Step-by-step explanation:

Here is a flowchart that represents the process of identifying and displaying odd numbers between 10 and 50:

```

Start

|

V

Initialize variable 'number' to 10

|

V

While 'number' is less than or equal to 50, do the following:

|

V

| Is 'number' odd?

| |

| V

| |

| | Yes

| | |

| | V

| | Display 'number'

| | |

| | V

| |

| | No

| | |

| | V

| |

| V

| Increment 'number' by 1

|

V

End

```

In this flowchart, we start by initializing the variable 'number' to 10. Then, we enter a loop that continues as long as 'number' is less than or equal to 50. Within the loop, we check if 'number' is odd. If it is, we display the value of 'number'. Otherwise, we simply increment 'number' by 1 and continue with the loop. Finally, once 'number' exceeds 50, we reach the end of the flowchart.

answered
User Iznogood
by
8.4k points

No related questions found