program test whether the given integer is perfect or not
i dont know why there is some error and how to solve it?
class perfect
{
public static void main(String args[])
{
int a=o;
int n;
for(int i=1;i<=n;i++)
{
if(a==n)
System.out.print("Perfect number");
else
System.out.print("Not a Perfect number");
}
}
}