Program 3: WAP to accept a number from the user and display whether whether it is an even number or an odd number. Code: Output: Program 4: WAP to accept percentage of a student and display the grade accordingly. Code: Output: 4