What is the difference between a finite and an infinite loop in the context of algorithm termination?from:Learning to Code