Computer Science, asked by nikky5, 1 year ago

write down the algorithm to draw a flowchart in Ms-word to find whether the number is even or odd

Answers

Answered by prmkulk1978
4
Algorithm  to find whether the number is even or odd 

*********************************************************************************
Step 1: Start

step 2: Accept the Number : Read the N

Step 3:  Checking : If Number %2==0 Then go to step 4 else step 5

Step 4 : Display  " N is even number " and stop

Step 5: Display  ": N is odd Number " and stop
********************************************************************************

Answered by writersparadise
3

Step 1: Start the process.


Step 2: Input the number N that you want to check is odd or even.


Step 3: Divide N by 2.


Step 4: If the remainder is 0, then go to Step 7.


Step 5: If the remainder is not equal to 0, the print that the number is an odd number.


Step 6: Go to Step 8.


Step 7: Print that the number is an even number.


Step 8: Stop the process.
Similar questions