Find a Prime number, add 2 to the number. Check if the new number is prime.
IE : 3 is prime. 3+2 =5. 5 is prime. (3,5) are twin primes.
write a c++program by using if statement to read a number and check whether it is positive or negative
You can write out this algorithm. This will then be programmed into the device to make determining prime numbers easier.
Type your answer here... i think we should first enter 1 number then check it
45
if it's square root is an integer, it is a square number.
write a c++program by using if statement to read a number and check whether it is positive or negative
You can write out this algorithm. This will then be programmed into the device to make determining prime numbers easier.
Type your answer here... i think we should first enter 1 number then check it
Avogadro's number is a constant. Therefore only one number is equal to Avogadro's number.
write a program in C to check whether a given number is apalindrome or not
45
8086 assembly language program to check wether given number is perfect or not
first we write start and then read number and after that check the number is totaly divide by 2 or not if number is totally divide by 2 then number is even else number is odd.
To write a C program to determine if something is odd or even you need to be a programmer. To write a program in C is complicate and only done by programmers.
I'll write it as pseudocode; you can easily convert it to a flowchart. If your number is more than 0 (Your number is positive) else if your number is less than 0 (your number is negative) else (your number is equal to zero)
if it's square root is an integer, it is a square number.
Eleven thousand