#include <stdio.h> int main() { int x; printf("Enter x value"); scanf("%d",&x); if(x%2==0 && x%3==0) { printf("Valid Nnumber"); } else { printf("Invalid Number"); } return 0; }
Enter x value 12 Valid Nnumber Enter x value 10 Invalid Nnumber
Apply For Job
Java Material
Python Material
PLSQL Material
.Net Material
Java Practice Programs
400 Java Programs
Write a Java program to count the letters, spaces, numbers and other characters of an input string
Write a java Program to print N prime numbers and find sum and average
Write a Java Program to find largest number in an array
Write a java Program to print odd and even numbers from an array
Write a Java program that accepts an integer (n) and computes the value of n+nn+nnn
Write a python program to print properties and methods
Write a Python program to print reverse number
Write a Python Program to Find LCM.
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.
Write a python program to check memory sizes of list ,set ,tuple
Java Quiz - 13
Java Quiz - 1
Java Quiz - 17
Java Quiz - 10
Java Quiz - 7