write an algorithm to find out whether given number is divisible by 10 or not
Answers
Answered by
0
Answer:
Explanation:
Step 1: Start the algorithm.
Step 2: Read the number by the user in variable "x".
Step 3:Test the condition if n mod(%) 10 equals 0 then move to Step 4 .otherwise Move to Step 5.
Step 4: Display " Number is divisible by 10 ".
Step 5: Display " Number is not divisible by 10 ".
Step 6: End the algorithm.
Similar questions