The program uses a single if-else: if the student fails in any subject, the result is u201cFailu201d; otherwise, itu2019s u201cPassu201d.