Answer:
input number
calculate modulus of the number and 5
compare outcome to 0
if 0 then output "divisible by 5"
else output "not divisible by 5"
Explanation:
The modulo operator is key here. It returns the remainder after integer division. So 8 mod 5 for example is 3, since 5x1+3 = 8. Only if the outcome is 0, you know the number you divided is a multiple of 5.
The type of activities that are ideal for a robot to perform are; Repetitive tasks
Robots are machines that are programmable by a computer which have the capacity of automatically carrying out a complex series of actions.
Now, robots are used in a wide array of industries which include manufacturing, assembly and packaging, transport, earth and space exploration, e.t.c.
The most common use are found primarily in the automobile industry where they are used to carry out repetitive tasks and those that are difficult or hazardous for humans.
Read more about robots at; brainly.com/question/9145476
You are able to mark your answers on tests and save your work, while on paper, you get it taken away from you.