Explanation:
It's placed near the door. When a visitor presses the button, the bell rings inside alerting you that someone is at the door.
Answer:
robbery
Explanation:
it records a robbery so that police can later find out who did it
I think both recursive and iteration are different programming approaches which have their own benefits and drawbacks .
<span><span>Recursive approach: In recursive approach the function calls itself until the condition is met. And it is slower than iteration,which means it uses more memory than iteration. recursion is like a selection structure, and which makes code smaller and clean. And a function partially defined by itself. Here tracing the code will be more difficult in the case large programs.</span><span><span>Iterative approach: </span>Iterative approach is a repetition process until the condition fails,here loops are used such as for ,while etc. Here code may be longer but it is faster than recursive. And it consumes less memory compared to recursive approach.If the loop condition is always true in such cases it will be an infinite loop.</span></span>