Question: what are the advantages of using functions?
Answer: Avoid repetition of codes. Increases program readability. Divide a complex problem into simpler ones. Reduces chances of error. Modifying a program becomes easier by using function.