#include <stdio.h> int main() { int x; printf("Enter x value"); scanf("%d",&x); x%2==0 ? printf("Even Number") : printf("Odd 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
Write a Java program to convert kilometers to miles.
Write a Java program that takes five numbers as input to calculate and print the average of the numbers
Write a java Program to print palindrome number upto N numbers
Write a Java program to convert a binary number to decimal number
Write a Java program that takes two numbers and display the product of two numbers
Write a python program to calculate average using python *args ?
Write a program to merging dictionaries
Write a python program to checking if a string is empty or not ?
Write a Python Program to calculate your Body Mass Index.
Write a python program to print reserved keywords
Java Quiz - 18
Java Quiz - 5
Java Quiz - 21
Java Quiz - 23
Java Quiz - 12