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
India Languages,
23 days ago
Biology,
23 days ago
Computer Science,
23 days ago
English,
1 month ago
English,
1 month ago
Hindi,
9 months ago
Math,
9 months ago