write an algorithm input a number to check the number is divisible by 3 and 5 or not
Answers
Answered by
1
Step-by-step explanation:
Start
Input a
if a%3 = 0 then
Print a
else
print" enter another number"
end
1. start
2. Input N
3. if N<3, go to step 6
4. if N%3 && N%6!=0 then
print N
5. N=N-3 go to step 3
6. end
Similar questions