Final answer:
Conditional statements used in programming to print encouraging messages for students without an A in the class are the If statement and Else statement.
Step-by-step explanation:
Conditional statements are used in programming to execute different code blocks based on certain conditions. In this case, the objective is to print encouraging messages for students without an A in the class. The correct statements to use in this scenario are the If statement and the Else statement.
An If statement checks a condition and executes a code block if the condition is true. In this case, the condition would be if the student does not have an A. If the condition is true, the encouraging message would be printed.
An Else statement is used together with an If statement and executes a code block if the condition in the If statement is false. In this case, if the student has an A, the Else statement would be triggered, and a different code block with an encouraging message could be printed.