Discuss the differences between repetitive and selective statements. Use segment codes to demonstrate your understanding.Explain why you are choosing one of the following three statements in your code: a) for statement, b) while statement, c) do-while statement.
Provide examples.