Math, asked by bharathivennkat22, 1 year ago

Draw a flowchart to check whether a number is even or odd

Answers

Answered by suyashyadav9839
16

first write

start

second

take a (as a variable )

if a/2=0

then  the number is even

other wise odd

stop

Answered by Nithyar6
0

Answer:

A number is even if its remainder is 0 when divided by 2, if the remainder is not 0, then it is an odd number.

The image of the flowchart is attached.

The general form of an even number is 2n.

The general form of an odd number is 2n+1.

Examples of even numbers are 2, 4, 6, 8, 10, 150, 232.

Examples of odd numbers are 1, 3, 5, 7, 9, 111, 351.

For a number to be even it should leave a remainder of 0 when it is divided by 2.

For example, to find whether 120 is an even number.

\frac{120}{2} = 60, the remainder is 0.

For a number to be odd it leaves a remainder when it is divided by 2.

For example, to find whether 121 is an odd number.

\frac{121}{2}=60 is the quotient and 1 is the remainder.

What are even numbers

https://brainly.in/question/5650866

What are odd numbers

https://brainly.in/question/16261433

Attachments:
Similar questions