#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 compute the sum of the first 100 prime numbers
Write a Java Program to Calculate electricity bill
Write a Java program to compute the square root of an given integer
Write a Java program that takes five numbers as input to calculate and print the average of the numbers
Write a Java program to accept a float value of number and return a rounded float value
Write a python program to Find the index of the smallest number in the list
Write a Python program to print fibonacci series
Write a python program to print lowercase names
Write a Python program to display the current date and time.
Write a Python Program to check armstrong number of n digits
Java Quiz - 8
Java Quiz - 1
Java Quiz - 12
Java Quiz - 6
Java Quiz - 3