Programs on If Statement

Basic WAP (Write A Program) Questions Check if a number is even or odd Input: Enter a number: 5 Output: Number 5 is odd Check if the last digits of two numbers are the same Input: Enter number 1: 55 Enter number 2: 45 Output: Last digits of 55 and 45 are same Check if … Continue reading Programs on If Statement