class Twin_Prime
{
void Prime(int n,int m)
{
int a=0;
int b=0;
for(int i=1;i<=m+n;i++)
{
if(m%i==0)
{
a=a+1;
}
if(n%i==0)
{
b=b+1;
}
}
if(a==2)
if(b==2)
{
if(m-n==2)
{
System.out.print("The numbers "+m+" and "+n+" are Twin Prime");
}
else
if(n-m==2)
{
System.out.print("The numbers "+m+" and "+n+" are Twin Prime");
}
}
else
{
System.out.print("They are not Twin Primes");
}
}
}
Step 1. Learn the word "Fibonacci"...
Write a C program to Draw a RAINBOW and fill the suitable colors ...
you can use strstr()
Cls input "enter two no.s ",a,b sum=a+b print "sum = ";sum end
Perhaps you mean an automorphic number? Loop through a series of numbers - for example, all numbers from 1 to 10,000 - and check each of the numbers, whether the condition applies. The condition in this case is that if you square the number, the last digits represent the original number.
C programm
Step 1. Learn the word "Fibonacci"...
#include(stdio.h) int main ()
substracion of any two number program in c
write a c program to accept a number and generate a square root cube and exponential values
Start accept 7 number calculate sum print sum stop
You can write a simple letter stating why you don't have proof of employment. It will be up to the company whether they accept your letter or not.
You can write out this algorithm. This will then be programmed into the device to make determining prime numbers easier.
You could use an if, but the ternary operator is especially compact for this purpose: result = a > b ? a : b;
dont know use google instead dumb
give description of that then i will send the answer
1000. The symbol for the measurement units and whether it comes before or after the numbers depends on whether it is a measure of mass or currency and, in the latter case, the currency of which country.