Simulanis Interview Question

Friend function Star pattern