|
Displaying 1 - 50 of about 5192 Related Tutorials.
|
prime palindrome
prime palindrome Hi
I want to write a program that ask a user to input a number, the program then list all the prime numbers that are palindrome below the number entered.
In pascal language
Thanks |
prime palindrome
prime palindrome Hi
I want to write a program in pascal that ask a user to input a number, the program then list all the prime number that are palindrome below the number entered.
thks |
Find Numbers which are palindrome and prime
Find Numbers which are palindrome and prime
In this section, you will learn how to find the numbers from 1 to 500 which
are palindrome and prime. To compute...() of boolean type. Now the list
contains all the numbers which are palindrome |
|
|
palindrome
palindrome write a program to print palindrome numbers between 500 to 700 |
prime palendrome
prime palendrome Hi
I want to write a program that ask a user to input a number, the program then list all the prime number that are palindrome below the number entered.
Thks |
|
|
Palindromic Prime Numbers
Palindromic Prime Numbers Write a program that finds the first
palindromic prime number above 100,000. Include the value of this
prime in a comment at the start of the code |
Prime Numbers - IDE Questions
Prime Numbers Create a program that calculates the prime numbers from any inputted start and end range of values (e.g. 5 and 28) and print the prime... = 0;
System.out.println("Prime Numbers are:" );
for (int i = 1; i < |
prime numbers application
prime numbers application how to add a comment indicating that the method will determine if a number is a prime number. In the next line add... a comment stating that 1 is not a valid prime number, on the next line add |
Prime Numbers from range
Prime Numbers from range how to find prime numbers in a given range which are palindromes??
Hi Friend,
Try the following code:
import java.util.*;
public class PrimeAndPalindrome {
static final int MAXNUMBER |
Find prime factors of non prime number
displayed a simple message and if the number is not a prime number we have find all...Find prime factors of non prime number
In this section, you will learn how to find the prime factors of the non prime number. Here we have prompted the user |
Pick Prime Numbers from the ArrayList
Pick Prime Numbers from the ArrayList
Programmers mostly used ArrayList... and non prime numbers separately.
Here is the code:
import java.util....(array);
System.out.println("Prime Numbers are: ");
for (int i = 0; i < |
prime number
prime number could u pls help me out in finding whether a number is a prime number or not?
import java.util.*;
class CheckPrimeNumber... is Prime!");
}
else{
System.out.println("Number |
prime nos
prime nos Instead of using break statement in finding the prime nos ,is there any other way ??
if it is there pls tell that also
import java.io.*;
class FindPrimeWithoutBreak
{
public static void main(String |
Palindrome
Palindrome program to verify palindrome |
palindrome array problem
palindrome array problem I'm having trouble figuring this assignment... in an array Palidrome[250][5] all the 5 letter words using {a, b, c}
Write the code....) Print out all the palindromes where a letter appears more than twice |
palindrome
palindrome program to find the given string is palindrome...];
}
if(st.equalsIgnoreCase(reversedSt)){
System.out.println("String is palindrome");
}
else{
System.out.println("String is not palindrome |
palindrome
palindrome how to write in string of palindrome?
import... is palindrome");
}
else{
System.out.println("String is not palindrome |
palindrome
palindrome how to write in string of palindrome
import... is palindrome");
}
else{
System.out.println("String is not palindrome |
PALINDROME
PALINDROME how to find palindrome of a number WITHOUT using a string... == reversedNumber){
System.out.print("Number is palindrome!");
}
else{
System.out.println("Number is not palindrome!");
}
}
catch(Exception e){
System.out.println(e |
finding divisors of a number
finding divisors of a number write a c program to input a number and print all its divisors using while loop |
finding divisors of a number
finding divisors of a number write a c program to input a number and print all its divisors using while loop |
finding divisors of a number
finding divisors of a number write a c program to input a number and print all its divisors using while loop |
Prime And Fibonacci Number Finder
Prime And Fibonacci Number Finder
In this section, you will learn how to find the prime numbers which are generated in the fibonacci series. To compute... numbers in the list. The Iterator class iterates the ArrayList and check whether |
PHP Beginners Guide, Free PHP Beginners Guide
This PHP Beginners Guide will help and educate all the programmers especially the beginners who want to learn PHP as a prime subject or as a supplement... of Roseindia’s PHP Beginners Guide. This PHP Beginners Guide not only help |
Sum of positive and negative numbers
the sum of all the positive integers and the sum of all the negative integers.
import java.util.*;
class Numbers
{
public static void main(String...=0,sum2=0;
int num[]=new int[10];
System.out.println("Enter 10 numbers |
prime number
prime number To check a number entered by user is prime |
numbers
|
prime number
prime number to check wethere given number is prime or not?
 ... is Prime!");
}
else{
System.out.println("Number is not prime!");
}
}
}
Thanks |
finding the ip address of other system and store in the database - JDBC
finding the ip address of other system and store in the database code to find the ip address,host name and their locale of other system that are connect to our system and store all these field or some of the fields |
Finding A Date
Finding A Date My Frequency Start Date is 24-08-2012
My frequency end date - not defined
Calculation Frequency is Weekly(Sunday)
My calculation will be from 24-08-2012 to the following sunday
My question is how to find |
Assigning ordinate numbers - JSP-Servlet
Assigning ordinate numbers Hi all,
I have a question to seek your help.
How do I assign an ordinal number to a randomly generated number? For example is the generated number is 5, how do i write a code that will print |
print the even numbers between the range 100-200
the even numbers which are not divisible by 5 and 7. It also find out the sum of all...print the even numbers between the range 100-200 Q ?write an application that print out the even numbers between the range 100-200 ?
1- which aer |
Finding an Element in a Sorted Array
Finding an Element in a Sorted Array
In the sorted array, searching is very easy...):
Above method sorts all the elements present in the array. This method takes |
Check whether the number is palindrome or not
Check whether the number is palindrome or not
A palindrome is a word,
phrase... is palindrome or not. You can check it in various ways but the simplest
method...;
}
if (n == reversedNumber) {
System.out.print("Number is palindrome |
Finding duplicates using array in for loop
Finding duplicates using array in for loop how to find the duplicates in array using for loop |
sorting numbers
sorting numbers How to sort the numbers in ascending order
import java.util.*;
class SortNumbers{
public static void main(String...=input.nextInt();
list.add(num);
}
System.out.println("Numbers |
Finding searching phrase of a search engine
Finding searching phrase of a search engine how to find out searching phrase of a search engine..? like, if visitors enter the keyword to google, is is any possible to get that keyword |
Numbers pyramid
Numbers pyramid Hi sir,
Can you please tell me how to output this using nested for loops?
1
2, 1
1, 2, 3
4, 3, 2, 1
1, 2, 3, 4, 5
6, 5, 4, 3, 2, 1
1, 2, 3, 4, 5, 6, 7
8, 7, 6, 5, 4, 3, 2, 1
1, 2, 3, 4, 5, 6, 7, 8, 9
10, 9, 8 |
Rational Numbers
Rational Numbers Write and fully test a class that represents rational numbers. A rational number can be represented as the ratio of two integer values, a and b, where b is not zero. The class has attributes for the numerator |
Find consecutive numbers whose sum is equal to input number.
Find consecutive numbers whose sum is equal to input number.
In this section, you will learn how to display the consecutive natural numbers whose sum is equal... natural number. The code then takes the number N given by the user and finds all |
Finding smallest value, then the next etc
Finding smallest value, then the next etc hi,
I know how to search for the smallest value index in an unsorted array so far with this:
double currentValue = dist[0];
int smallestIndex = 0;
for (int j |
random numbers
|
print numbers
|
Location finding error - JSP-Servlet
Location finding error Location needs from drive name:
My file uploading program has an error. It requires the location should be given from the directory name. Instead of this if only parent directory is given it shows |
Plz Provide correct program code for all questions.
Plz Provide correct program code for all questions.
Write a program to find the difference between sum of the squares and the square of the sums of n numbers?
Develop a program that accepts the area of a square |
Hexadecimal numbers multiplication
Hexadecimal numbers multiplication Sir,
I have to multiply 128 bit hexadecimal numbers. Do u have any logic for this??
The numbers are like
ab7564fa342b5412c34d9e67ab341b58 |
Addition of two numbers
Addition of two numbers addition of two numbers |
Program PrimePalindrome
program;to enter a number and print all palindrome prime numbers below it. I've......
Please help...
Program Prime_Palindrome;
var n,i: LongInt;
function IsPrime(V: LongInt): boolean;
var Result: boolean;
i: integer;
begin
{test if numnber is prime |
Check whether the sum of alternate digit of a number is palindrome or not.
Check whether the sum of alternate digit of a number is palindrome... by the user is palindrome or
not. So, firstly we have to find the sum... of this number be 2+4+6 i.e 12)
and then check whether this sum is palindrome |
multiply of 100 digits numbers
multiply of 100 digits numbers multiplying 100 digits numbers to eachother |