Perfect Number ============================================================================================ 6 why becouse = 6%1==0-->true 1 1+2+3=6 6%2==0-->true 2 6%3==0-->true 3 6%4==0-->false * 6%5==0-->false * n= 4 why 4%1==0 true 1-> 1+2=3 4%2==0 true 2 4%3==0 false * //series of perfect Number import java.util.Scanner; class Perfect1{ public static void main(String args[]){ Scanner sc=new Scanner(System.in); int n=sc.nextInt(); int sum=0; for(int i=1;i<=n;i++){ sum=0; for(int j=1;j
Success of Your life.These website will provides the latest technology and also provide the development of programming logic. computer science branch this website is very important. Every day practice code and developed the logic.