A group of statements that exist within a program for the purpose of performing a specific task is a function.
Function is a composition of statements that carry out a given task such as highlight a group of words and others.
Therefore, one can say that a group of statements that exist within a program for the purpose of performing a specific task is a function.
Learn more about statements from
https://brainly.com/question/407954
#SPJ1