Computer Science, asked by biakhluachogthu9309, 1 year ago

Program to check whether it is prime or not and also that the number is fibonacci or not

Answers

Answered by shantannu2003
0

class abc

{

public static void main(String args[])

{

int prime=5;

if(prime%1==0&&prime%5==0)

{

System.out.prinltn("prime");

}

else

{

System.out.prinltn("not prime");

}

}

}

Similar questions