Program to check whether it is prime or not and also that the number is fibonacci or not
Answers
Answered by
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
Computer Science,
6 months ago
Math,
6 months ago
Biology,
11 months ago
Biology,
11 months ago
Chemistry,
1 year ago