0 LIKES LikeUnLike
public class ans{public static void main (String args[]){int sum=0,n=5;int c=n;for (int a=1;a>n;a++){if (n%a==0)sum=sum+a;else continue;}if (c==sum)System.out.println("yes");elseSystem.out.println("no");}}
Tags:
Report (0) (0) | earlier
Latest activity: earlier. This question has 1 answers.