Programs on If Statement

WAP to read a number and check if it is even or odd[box title=”” bg_color=”#dbdbdb” align=”left”]input: Enter a number: 5 output: number 5 is odd [/box] WAP to read 2 numbers and check if their last digits are same or not[box title=”” bg_color=”#dbdbdb” align=”left”]input: Enter number 1: 55 Enter number 2: 45 output: Last digits … Continue reading Programs on If Statement