Tag Archives: prime number program in java

Prime Number Program in C

In today’s tutorial we are going to learn about writing prime number program using C.A number is said to be prime number if and only if it is divisible by 2 otherwise it is not a prime number. The meaning … Continue reading

Posted in C | Tagged , , , , | Leave a comment

Prime number program in C++

Today we shall learn how to write a program to find a number is Prime number or not.Before we start writing a program we should learn the basic definition.A number is said to be prime number if”It is divisible by … Continue reading

Posted in C++ | Tagged , , , , , , , , , , , , , , , , , | Leave a comment

Java program to check whether string is palindrome or not

In earlier post we have discussed how to check whether a number is palindrome or not.In today’s post we shall check whether a string is palindrome or not.For this we shall use built in functions to reverse a string and … Continue reading

Posted in Java | Tagged , , , , , , , , , , , , , , , | Leave a comment

Prime number program in JAVA

Let us make another basic program in JAVA.i.e finding the prime numbers in the given list.We know that a number is called as prime number if it is divisible by one and itself only.Therefore to check whether a number is … Continue reading

Posted in Java | Tagged , , , , , , , , , , , , , , , , , , , | Leave a comment