code no. 9- counter using a switch

program to count up or down on the switch press