3.3if-elseAP Computer Science ABasic if-elseWhy if-else instead of two if statements?Tracing if-else statementsNested if-elseTrace the nested logic:if-else with return valuesOne-line if-else (ternary operator)Complete example: Movie ticket pricingAP Exam Tips•••••Common MistakesKey VocabularyUnit 3 topicsUnit 3 overview3.1Boolean Expressions3.2if Statements3.3if-else3.4else-if3.5Compound Booleans3.6Equivalent Expressions← Previous3.2 if StatementsNext →3.4 else-ifPractice AP Computer Science A questions →