QualityKiosk interview question

oops concepts, star pattern, reverse words in sentence,be project