Synoriq interview question

1. Star Pattern Printing 2. Basic arithmetic operation