Programs - Switch-case and For loop

 1

 2

 1

 2