what is the purpose of an if statement? group of answer choices to choose whether or not to execute certain code. to execute code repeatedly. to assign a bool value. all of the answers are correct