#include <stdio.h> int main() { int x; printf("Enter x value"); scanf("%d",&x); if(x%2==0) { printf("Even is Nnumber"); } else { printf("Odd is Number"); } return 0; }
Enter x value 10 Even Number Enter x value 11 Odd Number
Apply For Job
Java Material
Python Material
PLSQL Material
.Net Material
Java Practice Programs
400 Java Programs
JDBC
JSP
Servlets
Java Quiz
C Material
C Programs
Java Interview Questions and Answers
SQL Interview Questions and Answers
100 Most Asked Java Interview Questions and Answers
Python Interview Questions
Write a Java program to check whether Java is installed on your computer or not
Write a Java program and compute the sum of the digits of an integer
Write a Java program to print the sum of two numbers
Write a Java program to display the system time
Write a Java program to convert a string to an integer
Write a Python program to count the number 4 in a given list.
Write a Python program that calculates the area of a circle based on the radius entered by the user.
Write a Python program to display the first and last colors from the following list.
Write a Python program to get n (non-negative integer) copies of the first 2 characters of a given string. Return n copies of the whole string if the length is less than 2.
Print out a set containing all the colors from a list which are not present in other list
Java Quiz - 12
Java Quiz - 18
Java Quiz - 7
Java Quiz - 22
Java Quiz - 19