Computer Science, asked by aryanchaudhary3063, 7 days ago

Write an algorithm and draw a flowchart to accept a number and check whether the
number is divisible by 5 or not .

Answers

Answered by loonivashrestha63520
1

Answer:

step 1: Start

step 2 : Input a number a

step 3: if a mod 2=0 then go to step 4 else go to step 5

step 4:print " it is even no" goto step 6

step 5:print "it is odd no"goto step 6

step 6: stop

Similar questions