answersLogoWhite

0


Best Answer

Use Wolfram|Alpha... go to the related link below, Wolfram|Alpha, and type in (is __ (number) prime) and then the program will compute that and tell you if it is prime or composite.

User Avatar

Wiki User

โˆ™ 2012-08-27 02:06:08
This answer is:
User Avatar
Study guides

What is the prime factorization of 24

What is the prime factorization of 54

What is the prime factorization of 64

What is the prime factorization of 34

โžก๏ธ
See all cards
4.83
โ˜†โ˜…โ˜†โ˜…โ˜†โ˜…โ˜†โ˜…โ˜†โ˜…
12 Reviews

Add your answer:

Earn +20 pts
Q: A program to find that the input number is prime or not?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Write a c program to find out the prime numbers between 1 to 500?

write a program to find prime number between 1 to500


What input you will give to write a basic program to find prime numbers between 1 to 100 using if and else?

There is nothing needed as input.But if "input" as the argument passing to a routine, it depends on the routine.It can be a function to determine any given integer (here's the input) is a prime or not, or it can be a function to return all the prime numbers within a range (1 to 100 in this case).the smallest Prime = 2, the only even number as a prime number!any other prime number other than 2 is a POSITIVE ODD INTEGER


How do you find prime no in gwbasic program?

10 input "enter a no."; n 20 for i = 1 to n 30 if n mod i = 0 then c = c +1 40 next i 50 if c = 2 then print "prime number" else print "not a prime number" 60 end


Any integer is input through the keyboard write a c program to find out whether it is an odd number or even number?

any integer is input through the keyboard. write a program to find out whether it is an odd number or even number using if else statement in c#.


What is the largest prime no that is stored in 8 bit pattern?

Write your own prime number program and find out.


An assembly language program that will take three decimal input and display minimum of them?

program that take three decimal number as input and find the largest among them in assembly language


Prime numbers between 1 to 10 in microprocessor 8085?

program to find prime number in 8085 microprocessor


How do you write a C program to find whether the given number is prime in simple understandable method?

int number; int i=2; while (i<number) { if(number%i==0) { printf("Not a prime no."); break; } else printf("number entered is prime"); getch(); }


Write a program to find odd or even number with string?

CLS PRINT "PROGRAM: Find if number is odd/or, even" PRINT INPUT "Enter number: ", number$ number% = VAL(number$) PRINT PRINT "The number is "; IF number% MOD 2 = 0 THEN PRINT "even." ELSE PRINT "odd." END IF END


Write a C program called MonthDays to find the number of days in a given month Test your code with different input values to demonstrate that your function is robust?

Write a C program called MonthDays to find the number of days in a given month Test your code with different input values to demonstrate that your function is robust?


How do you find a fraction of a prime number?

Divide the prime number.


How do you write a VBnet program to find the prime numbers between 100 to 200?

VBnet program to find the prime numbers between 100 to 200?

People also asked