-
-
-
-
-
-
-
-
-
diff --git a/P77P80/.gitignore b/P77P80/.gitignore
deleted file mode 100644
index ae3c172..0000000
--- a/P77P80/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-/bin/
diff --git a/P77P80/.project b/P77P80/.project
deleted file mode 100644
index 575cc7f..0000000
--- a/P77P80/.project
+++ /dev/null
@@ -1,17 +0,0 @@
-
-
- P77P80
-
-
-
-
-
- org.eclipse.jdt.core.javabuilder
-
-
-
-
-
- org.eclipse.jdt.core.javanature
-
-
diff --git a/P77P80/.settings/org.eclipse.core.resources.prefs b/P77P80/.settings/org.eclipse.core.resources.prefs
deleted file mode 100644
index 733a2a9..0000000
--- a/P77P80/.settings/org.eclipse.core.resources.prefs
+++ /dev/null
@@ -1,5 +0,0 @@
-eclipse.preferences.version=1
-encoding//src/P77.java=UTF-8
-encoding//src/P78.java=UTF-8
-encoding//src/P79.java=UTF-8
-encoding//src/P80.java=UTF-8
diff --git a/P77P80/.settings/org.eclipse.jdt.core.prefs b/P77P80/.settings/org.eclipse.jdt.core.prefs
deleted file mode 100644
index e2e9c66..0000000
--- a/P77P80/.settings/org.eclipse.jdt.core.prefs
+++ /dev/null
@@ -1,14 +0,0 @@
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=11
-org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
-org.eclipse.jdt.core.compiler.compliance=11
-org.eclipse.jdt.core.compiler.debug.lineNumber=generate
-org.eclipse.jdt.core.compiler.debug.localVariable=generate
-org.eclipse.jdt.core.compiler.debug.sourceFile=generate
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
-org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
-org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=warning
-org.eclipse.jdt.core.compiler.release=enabled
-org.eclipse.jdt.core.compiler.source=11
diff --git a/P77P80/src/P77.java b/P77P80/src/P77.java
deleted file mode 100644
index ce99061..0000000
--- a/P77P80/src/P77.java
+++ /dev/null
@@ -1,47 +0,0 @@
-/**
-* P77 : بررسی کامل بودن یک عدد
-*
-* @author Gholamali Nejad Hajali Irani
-* @version 1.0
-* @since 2021/01/29
-* @Team gClassAcademy
-* @Website youtube.com/gClassAcademy
-*
-*/
-
-import java.util.Scanner;
-
-public class P77
-{
- public static void main(String[] args)
- {
- Scanner input=new Scanner (System.in);
-
- System.out.print("Enter n:");
- int n = input.nextInt(); //عدد ورودی
- int sum=0; // برای جمع مقسوم علیه های n بجز خودش
-
- for (int x=1;x<=n/2;x++)
- if (n%x==0)
- {
- sum+=x;
- System.out.println(x);
- }
-
- System.out.println("Sum is: " + sum);
-
- if (sum==n)
- System.out.println("Yes");
-
-
- }// end of main
-}// end of class
-
-
-
-
-
-
-
-
-
diff --git a/P77P80/src/P78.java b/P77P80/src/P78.java
deleted file mode 100644
index 998cbae..0000000
--- a/P77P80/src/P78.java
+++ /dev/null
@@ -1,44 +0,0 @@
-/**
-* P78 : چاپ اعداد کامل کمتر از 1000
-*
-* @author Gholamali Nejad Hajali Irani
-* @version 1.0
-* @since 2021/01/29
-* @Team gClassAcademy
-* @Website youtube.com/gClassAcademy
-*
-*/
-
-import java.util.Scanner;
-
-public class P78
-{
- public static void main(String[] args)
- {
- Scanner input=new Scanner (System.in);
-
-
- for (int n=1;n<=10000;n++)
- {
- int sum=0; // برای جمع مقسوم علیه های n بجز خودش
-
- for (int x=1;x<=n/2;x++)
- if (n%x==0)
- sum+=x;
-
-
- if (sum==n)
- System.out.println(n);
- }
-
- }// end of main
-}// end of class
-
-
-
-
-
-
-
-
-
diff --git a/P77P80/src/P79.java b/P77P80/src/P79.java
deleted file mode 100644
index 7920193..0000000
--- a/P77P80/src/P79.java
+++ /dev/null
@@ -1,51 +0,0 @@
-/**
-* P79 : بررسی کامل بودن عدد بین 100 عدد گرفته شده از کاربر
-*
-* @author Gholamali Nejad Hajali Irani
-* @version 1.0
-* @since 2021/01/29
-* @Team gClassAcademy
-* @Website youtube.com/gClassAcademy
-*/
-
-import java.util.Scanner;
-
-public class P79
-{
- public static void main(String[] args)
- {
- Scanner input=new Scanner (System.in);
-
- int n=0;// عددی که هر مرحله از کاربر دریافت میشود
- int allcount=0; // تعداد اعدادی که هم اول و هم فیبوناچی هستن
-
- for (int x=1;x<=5;x++)
- {
- // گرفتن n
- System.out.println("Enter n" + x + ": ");
- n=input.nextInt();
-
- // محاسبات روی n
-
-
- //بررسی کامل بودن n
- int sum=0;
- for (int y=1;y<=n/2;y++)
- if (n%y==0)
- sum+=y;
-
- // عدد n کامل هست
- if (sum==n)
- allcount++;
-
- }// end of for x
-
-
- System.out.println("All count is: " + allcount);
-
-
-
-
-
- }// end of main
-}// end of class
diff --git a/P77P80/src/P80.java b/P77P80/src/P80.java
deleted file mode 100644
index e3711e6..0000000
--- a/P77P80/src/P80.java
+++ /dev/null
@@ -1,51 +0,0 @@
-/**
-* P80 : بررسی کامل بودن عدد بین 100 عدد گرفته شده از کاربر
-*
-* @author Gholamali Nejad Hajali Irani
-* @version 1.0
-* @since 2021/01/29
-* @Team gClassAcademy
-* @Website youtube.com/gClassAcademy
-*/
-
-import java.util.Scanner;
-
-public class P80
-{
- public static void main(String[] args)
- {
- Scanner input=new Scanner (System.in);
-
- int n=0;// عددی که هر مرحله از کاربر دریافت میشود
- int allcount=0; // تعداد اعدادی که هم اول و هم فیبوناچی هستن
-
- for (int x=1;x<=100;x++)
- {
- // گرفتن n
- System.out.println("Enter n" + x + ": ");
- n=input.nextInt();
-
- // محاسبات روی n
-
-
- //بررسی کامل بودن n
- int sum=0;
- for (int y=1;y<=n/2;y++)
- if (n%y==0)
- sum+=y;
-
- // عدد n کامل هست
- if (sum==n && n%2==0)
- allcount++;
-
- }// end of for x
-
-
- System.out.println("All count is: " + allcount);
-
-
-
-
-
- }// end of main
-}// end of class
diff --git a/P7P11/.classpath b/P7P11/.classpath
deleted file mode 100644
index 60b915a..0000000
--- a/P7P11/.classpath
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-
-
-
-
-
-
-
diff --git a/P7P11/.gitignore b/P7P11/.gitignore
deleted file mode 100644
index ae3c172..0000000
--- a/P7P11/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-/bin/
diff --git a/P7P11/.project b/P7P11/.project
deleted file mode 100644
index d41f4cb..0000000
--- a/P7P11/.project
+++ /dev/null
@@ -1,17 +0,0 @@
-
-
- P7P11
-
-
-
-
-
- org.eclipse.jdt.core.javabuilder
-
-
-
-
-
- org.eclipse.jdt.core.javanature
-
-
diff --git a/P7P11/.settings/org.eclipse.core.resources.prefs b/P7P11/.settings/org.eclipse.core.resources.prefs
deleted file mode 100644
index c356e31..0000000
--- a/P7P11/.settings/org.eclipse.core.resources.prefs
+++ /dev/null
@@ -1,4 +0,0 @@
-eclipse.preferences.version=1
-encoding//src/P10.java=UTF-8
-encoding//src/P11.java=UTF-8
-encoding//src/P9.java=UTF-8
diff --git a/P7P11/.settings/org.eclipse.jdt.core.prefs b/P7P11/.settings/org.eclipse.jdt.core.prefs
deleted file mode 100644
index e2e9c66..0000000
--- a/P7P11/.settings/org.eclipse.jdt.core.prefs
+++ /dev/null
@@ -1,14 +0,0 @@
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=11
-org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
-org.eclipse.jdt.core.compiler.compliance=11
-org.eclipse.jdt.core.compiler.debug.lineNumber=generate
-org.eclipse.jdt.core.compiler.debug.localVariable=generate
-org.eclipse.jdt.core.compiler.debug.sourceFile=generate
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
-org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
-org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=warning
-org.eclipse.jdt.core.compiler.release=enabled
-org.eclipse.jdt.core.compiler.source=11
diff --git a/P7P11/src/P10.java b/P7P11/src/P10.java
deleted file mode 100644
index cd51d8d..0000000
--- a/P7P11/src/P10.java
+++ /dev/null
@@ -1,24 +0,0 @@
-import java.util.Scanner;
-
-public class P10 {
-
- public static void main(String[] args)
- {
- Scanner input=new Scanner (System.in);
-
- int sum = 0;
-// for (int x=2 ; x<=100 ; x=x+2)
-// sum = sum + x;
-
-
- for (int x=1 ; x<=100 ; x++)
- if (x%2 == 1) //x فرد است
- sum = sum + x;
-
- System.out.println("sum is : " + sum);
-
-
-
- }
-
-}
diff --git a/P7P11/src/P11.java b/P7P11/src/P11.java
deleted file mode 100644
index 8f653c4..0000000
--- a/P7P11/src/P11.java
+++ /dev/null
@@ -1,19 +0,0 @@
-import java.util.Scanner;
-
-public class P11 {
-
- public static void main(String[] args)
- {
- Scanner input=new Scanner (System.in);
-
- System.out.println("Please enter n:");
- int n=input.nextInt();
-
-
- for (int x=1 ; x<=n ; x++)
- System.out.println(x);
-
-
- }
-
-}
diff --git a/P7P11/src/P7.java b/P7P11/src/P7.java
deleted file mode 100644
index 809ae44..0000000
--- a/P7P11/src/P7.java
+++ /dev/null
@@ -1,15 +0,0 @@
-import java.util.Scanner;
-
-public class P7 {
-
- public static void main(String[] args)
- {
- Scanner input=new Scanner (System.in);
-
- for (int x=1 ; x<=10 ; x++)
- System.out.println(x);
-
-
- }
-
-}
diff --git a/P7P11/src/P8.java b/P7P11/src/P8.java
deleted file mode 100644
index 7588f04..0000000
--- a/P7P11/src/P8.java
+++ /dev/null
@@ -1,19 +0,0 @@
-import java.util.Scanner;
-
-public class P8 {
-
- public static void main(String[] args)
- {
- Scanner input=new Scanner (System.in);
-
- int sum = 0;
- for (int x=1 ; x<=10 ; x++)
- sum+=x; //sum = sum + x;
-
- System.out.println("sum is : " + sum);
-
-
-
- }
-
-}
diff --git a/P7P11/src/P9.java b/P7P11/src/P9.java
deleted file mode 100644
index 2d72d8e..0000000
--- a/P7P11/src/P9.java
+++ /dev/null
@@ -1,24 +0,0 @@
-import java.util.Scanner;
-
-public class P9 {
-
- public static void main(String[] args)
- {
- Scanner input=new Scanner (System.in);
-
- int sum = 0;
-// for (int x=2 ; x<=100 ; x=x+2)
-// sum = sum + x;
-
-
- for (int x=1 ; x<=100 ; x++)
- if (x%2 == 0) //x زوج است
- sum = sum + x;
-
- System.out.println("sum is : " + sum);
-
-
-
- }
-
-}
diff --git a/P82P83/.classpath b/P82P83/.classpath
deleted file mode 100644
index 60b915a..0000000
--- a/P82P83/.classpath
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-
-
-
-
-
-
-
diff --git a/P82P83/.gitignore b/P82P83/.gitignore
deleted file mode 100644
index ae3c172..0000000
--- a/P82P83/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-/bin/
diff --git a/P82P83/.project b/P82P83/.project
deleted file mode 100644
index 14559c2..0000000
--- a/P82P83/.project
+++ /dev/null
@@ -1,17 +0,0 @@
-
-
- P82P83
-
-
-
-
-
- org.eclipse.jdt.core.javabuilder
-
-
-
-
-
- org.eclipse.jdt.core.javanature
-
-
diff --git a/P82P83/.settings/org.eclipse.core.resources.prefs b/P82P83/.settings/org.eclipse.core.resources.prefs
deleted file mode 100644
index 7a489af..0000000
--- a/P82P83/.settings/org.eclipse.core.resources.prefs
+++ /dev/null
@@ -1,3 +0,0 @@
-eclipse.preferences.version=1
-encoding//src/P82.java=UTF-8
-encoding//src/P83.java=UTF-8
diff --git a/P82P83/.settings/org.eclipse.jdt.core.prefs b/P82P83/.settings/org.eclipse.jdt.core.prefs
deleted file mode 100644
index e2e9c66..0000000
--- a/P82P83/.settings/org.eclipse.jdt.core.prefs
+++ /dev/null
@@ -1,14 +0,0 @@
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=11
-org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
-org.eclipse.jdt.core.compiler.compliance=11
-org.eclipse.jdt.core.compiler.debug.lineNumber=generate
-org.eclipse.jdt.core.compiler.debug.localVariable=generate
-org.eclipse.jdt.core.compiler.debug.sourceFile=generate
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
-org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
-org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=warning
-org.eclipse.jdt.core.compiler.release=enabled
-org.eclipse.jdt.core.compiler.source=11
diff --git a/P82P83/src/P82.java b/P82P83/src/P82.java
deleted file mode 100644
index 9a98d9c..0000000
--- a/P82P83/src/P82.java
+++ /dev/null
@@ -1,61 +0,0 @@
-/**
-* P82 : تبدیل یک عدد از مبنای 10 به مبنای 2
-*
-* @author Gholamali Nejad Hajali Irani
-* @version 1.0
-* @since 2021/02/04
-* @Team gClassAcademy
-* @Website youtube.com/gClassAcademy
-*
-*/
-
-import java.util.Scanner;
-
-public class P82
-{
- public static void main(String[] args)
- {
- Scanner input=new Scanner (System.in);
-
- System.out.print("Enter n: ");
- long n = input.nextInt(); // برای عدد گرفته شده از کاربر
- long m=n;
-
- long s=0; // برای حاصل جمع نهایی
- long p=1; //برای تولید توانهای 10
- while (n>0)
- {
- s = s + p * (n%2);
- p = p*10;
- n = n/2;
- }
-
- System.out.println(s);
-
-
-
-
-
- String ss="";
- while (m>0)
- {
- ss=m%2 + ss;
- m = m/2;
- }
- System.out.println("\n" + ss);
-
-
-
-
-
- }// end of main
-}// end of class
-
-
-
-
-
-
-
-
-
diff --git a/P82P83/src/P83.java b/P82P83/src/P83.java
deleted file mode 100644
index 99df01f..0000000
--- a/P82P83/src/P83.java
+++ /dev/null
@@ -1,61 +0,0 @@
-/**
-* P83 : تبدیل یک عدد از مبنای 10 به مبنای 8
-*
-* @author Gholamali Nejad Hajali Irani
-* @version 1.0
-* @since 2021/02/04
-* @Team gClassAcademy
-* @Website youtube.com/gClassAcademy
-*
-*/
-
-import java.util.Scanner;
-
-public class P83
-{
- public static void main(String[] args)
- {
- Scanner input=new Scanner (System.in);
-
- System.out.print("Enter n: ");
- long n = input.nextInt(); // برای عدد گرفته شده از کاربر
- long m=n;
-
- long s=0; // برای حاصل جمع نهایی
- long p=1; //برای تولید توانهای 10
- while (n>0)
- {
- s = s + p * (n%8);
- p = p*10;
- n = n/8;
- }
-
- System.out.println(s);
-
-
-
-
-
- String ss="";
- while (m>0)
- {
- ss=m%8 + ss;
- m = m/8;
- }
- System.out.println("\n" + ss);
-
-
-
-
-
- }// end of main
-}// end of class
-
-
-
-
-
-
-
-
-
diff --git a/P85P86/.classpath b/P85P86/.classpath
deleted file mode 100644
index 60b915a..0000000
--- a/P85P86/.classpath
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-
-
-
-
-
-
-
diff --git a/P85P86/.gitignore b/P85P86/.gitignore
deleted file mode 100644
index ae3c172..0000000
--- a/P85P86/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-/bin/
diff --git a/P85P86/.project b/P85P86/.project
deleted file mode 100644
index 4460313..0000000
--- a/P85P86/.project
+++ /dev/null
@@ -1,17 +0,0 @@
-
-
- P85P86
-
-
-
-
-
- org.eclipse.jdt.core.javabuilder
-
-
-
-
-
- org.eclipse.jdt.core.javanature
-
-
diff --git a/P85P86/.settings/org.eclipse.core.resources.prefs b/P85P86/.settings/org.eclipse.core.resources.prefs
deleted file mode 100644
index 8bfdbae..0000000
--- a/P85P86/.settings/org.eclipse.core.resources.prefs
+++ /dev/null
@@ -1,5 +0,0 @@
-eclipse.preferences.version=1
-encoding//src/P84.java=UTF-8
-encoding//src/P85.java=UTF-8
-encoding//src/P86.java=UTF-8
-encoding//src/P87.java=UTF-8
diff --git a/P85P86/.settings/org.eclipse.jdt.core.prefs b/P85P86/.settings/org.eclipse.jdt.core.prefs
deleted file mode 100644
index e2e9c66..0000000
--- a/P85P86/.settings/org.eclipse.jdt.core.prefs
+++ /dev/null
@@ -1,14 +0,0 @@
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=11
-org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
-org.eclipse.jdt.core.compiler.compliance=11
-org.eclipse.jdt.core.compiler.debug.lineNumber=generate
-org.eclipse.jdt.core.compiler.debug.localVariable=generate
-org.eclipse.jdt.core.compiler.debug.sourceFile=generate
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
-org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
-org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=warning
-org.eclipse.jdt.core.compiler.release=enabled
-org.eclipse.jdt.core.compiler.source=11
diff --git a/P85P86/src/P84.java b/P85P86/src/P84.java
deleted file mode 100644
index 442293d..0000000
--- a/P85P86/src/P84.java
+++ /dev/null
@@ -1,93 +0,0 @@
-/**
-* P86 : ضرب و جمع در مبنای 8
-*
-* @author Gholamali Nejad Hajali Irani
-* @version 1.0
-* @since 2021/02/05
-* @Team gClassAcademy
-* @Website youtube.com/gClassAcademy
-*
-*/
-
-import java.util.Scanner;
-
-public class P84
-{
- public static void main(String[] args)
- {
- Scanner input=new Scanner (System.in);
-
- System.out.print("Enter n1,n2 (8): ");
- long n1 = input.nextLong(); // برای عدد گرفته شده از کاربر
- long n2 = input.nextLong(); // برای عدد گرفته شده از کاربر
-
-
-
- ///////////// تبدیل اعداد از 8 به مبنای 10
-
- long s1=0; // معادل n1 در مبنای 10
- long p=1; //برای تولید توانهای 2
- while (n1>0)
- {
- s1 = s1 + p * (n1 % 10);
- p = p*8;
- n1 = n1 / 10;
- }
- //System.out.println(s1);
-
- long s2=0; // معادل n2 در مبنای 10
- p=1; //برای تولید توانهای 2
- while (n2>0)
- {
- s2 = s2 + p * (n2 % 10);
- p = p*8;
- n2 = n2 / 10;
- }
- //System.out.println(s2);
-
-
- ////////////////// عملیات در مبنای 10
-
- long sum=s1+s2; // برای جمع دو عدد
- long product = s1*s2; // برای ضرب دو عدد
-
-
- ////////////////////// تبدیل از 10 به 8
-
- long s=0; // برای حاصل جمع نهایی
- p=1; //برای تولید توانهای 10
- while (sum>0)
- {
- s = s + p * (sum%8);
- p = p*10;
- sum = sum/8;
- }
- System.out.println("\nSum in base 8 is: " + s);
-
-
-
-
- long ss=0; // برای حاصل جمع نهایی
- p=1; //برای تولید توانهای 10
- while (product>0)
- {
- ss = ss + p * (product%8);
- p = p*10;
- product = product/8;
- }
- System.out.println("Product in base 8 is: " + ss);
-
-
-
-
- }// end of main
-}// end of class
-
-
-
-
-
-
-
-
-
diff --git a/P85P86/src/P85.java b/P85P86/src/P85.java
deleted file mode 100644
index 5d531bd..0000000
--- a/P85P86/src/P85.java
+++ /dev/null
@@ -1,49 +0,0 @@
-/**
-* P85 : تبدیل یک عدد از مبنای 2 به مبنای 10
-*
-* @author Gholamali Nejad Hajali Irani
-* @version 1.0
-* @since 2021/02/04
-* @Team gClassAcademy
-* @Website youtube.com/gClassAcademy
-*
-*/
-
-import java.util.Scanner;
-
-public class P85
-{
- public static void main(String[] args)
- {
- Scanner input=new Scanner (System.in);
-
- System.out.print("Enter n: ");
- long m = input.nextLong(); // برای عدد گرفته شده از کاربر
-
- long s=0; // برای حاصل جمع نهایی
- long p=1; //برای تولید توانهای 2
- while (m>0)
- {
- s = s + p * (m%10);
- p = p*2;
- m = m/10;
- }
-
- System.out.println(s);
-
-
-
-
-
-
- }// end of main
-}// end of class
-
-
-
-
-
-
-
-
-
diff --git a/P85P86/src/P86.java b/P85P86/src/P86.java
deleted file mode 100644
index a32249e..0000000
--- a/P85P86/src/P86.java
+++ /dev/null
@@ -1,49 +0,0 @@
-/**
-* P86 : تبدیل یک عدد از مبنای 8 به مبنای 10
-*
-* @author Gholamali Nejad Hajali Irani
-* @version 1.0
-* @since 2021/02/04
-* @Team gClassAcademy
-* @Website youtube.com/gClassAcademy
-*
-*/
-
-import java.util.Scanner;
-
-public class P86
-{
- public static void main(String[] args)
- {
- Scanner input=new Scanner (System.in);
-
- System.out.print("Enter n: ");
- long m = input.nextLong(); // برای عدد گرفته شده از کاربر
-
- long s=0; // برای حاصل جمع نهایی
- long p=1; //برای تولید توانهای 2
- while (m>0)
- {
- s = s + p * (m%10);
- p = p*8;
- m = m/10;
- }
-
- System.out.println(s);
-
-
-
-
-
-
- }// end of main
-}// end of class
-
-
-
-
-
-
-
-
-
diff --git a/P85P86/src/P87.java b/P85P86/src/P87.java
deleted file mode 100644
index 99b9fb5..0000000
--- a/P85P86/src/P87.java
+++ /dev/null
@@ -1,62 +0,0 @@
-/**
-* P87 : تبدیل یک عدد از مبنای 2 به مبنای 8 غیرمستقیم
-*
-* @author Gholamali Nejad Hajali Irani
-* @version 1.0
-* @since 2021/02/04
-* @Team gClassAcademy
-* @Website youtube.com/gClassAcademy
-*
-*/
-
-import java.util.Scanner;
-
-public class P87
-{
- public static void main(String[] args)
- {
- Scanner input=new Scanner (System.in);
-
- System.out.print("Enter n: ");
- long m = input.nextLong(); // برای عدد گرفته شده از کاربر
-
- long ss=0; // برای حاصل جمع نهایی
- long pp=1; //برای تولید توانهای 2
- while (m>0)
- {
- ss = ss + pp * (m%10);
- pp = pp*2;
- m = m/10;
- }
-
- //System.out.println(ss);
-
-
- long n=ss;
-
- long s=0; // برای حاصل جمع نهایی
- long p=1; //برای تولید توانهای 10
- while (n>0)
- {
- s = s + p * (n%8);
- p = p*10;
- n = n/8;
- }
-
- System.out.println(s);
-
-
-
-
-
- }// end of main
-}// end of class
-
-
-
-
-
-
-
-
-
diff --git a/P87P89/.classpath b/P87P89/.classpath
deleted file mode 100644
index 60b915a..0000000
--- a/P87P89/.classpath
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-
-
-
-
-
-
-
diff --git a/P87P89/.gitignore b/P87P89/.gitignore
deleted file mode 100644
index ae3c172..0000000
--- a/P87P89/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-/bin/
diff --git a/P87P89/.project b/P87P89/.project
deleted file mode 100644
index 3e138be..0000000
--- a/P87P89/.project
+++ /dev/null
@@ -1,17 +0,0 @@
-
-
- P87P89
-
-
-
-
-
- org.eclipse.jdt.core.javabuilder
-
-
-
-
-
- org.eclipse.jdt.core.javanature
-
-
diff --git a/P87P89/.settings/org.eclipse.core.resources.prefs b/P87P89/.settings/org.eclipse.core.resources.prefs
deleted file mode 100644
index f4252b4..0000000
--- a/P87P89/.settings/org.eclipse.core.resources.prefs
+++ /dev/null
@@ -1,4 +0,0 @@
-eclipse.preferences.version=1
-encoding//src/P871.java=UTF-8
-encoding//src/P88.java=UTF-8
-encoding//src/P89.java=UTF-8
diff --git a/P87P89/.settings/org.eclipse.jdt.core.prefs b/P87P89/.settings/org.eclipse.jdt.core.prefs
deleted file mode 100644
index e2e9c66..0000000
--- a/P87P89/.settings/org.eclipse.jdt.core.prefs
+++ /dev/null
@@ -1,14 +0,0 @@
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=11
-org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
-org.eclipse.jdt.core.compiler.compliance=11
-org.eclipse.jdt.core.compiler.debug.lineNumber=generate
-org.eclipse.jdt.core.compiler.debug.localVariable=generate
-org.eclipse.jdt.core.compiler.debug.sourceFile=generate
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
-org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
-org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=warning
-org.eclipse.jdt.core.compiler.release=enabled
-org.eclipse.jdt.core.compiler.source=11
diff --git a/P87P89/src/P871.java b/P87P89/src/P871.java
deleted file mode 100644
index 5d9cd30..0000000
--- a/P87P89/src/P871.java
+++ /dev/null
@@ -1,53 +0,0 @@
-/**
-* P87 : تبدیل یک عدد از مبنای 2 به مبنای 8 روش مستقیم
-*
-* @author Gholamali Nejad Hajali Irani
-* @version 1.0
-* @since 2021/02/05
-* @Team gClassAcademy
-* @Website youtube.com/gClassAcademy
-*
-*/
-
-import java.util.Scanner;
-
-public class P871
-{
- public static void main(String[] args)
- {
- Scanner input=new Scanner (System.in);
-
- System.out.print("Enter n: ");
- long n = input.nextLong(); // برای عدد گرفته شده از کاربر
- System.out.println(n);
-
-
- long p=1;
- long sum = 0;
- while (n>0)
- {
- long r = n%1000;
- long k = r%10 + (((r/10)%10) *2) + ((r/100) *4);
-
- sum = sum + p * k;
- p=p*10;
-
- n = n/1000;
- }
-
- System.out.println(sum);
-
-
-
-
- }// end of main
-}// end of class
-
-
-
-
-
-
-
-
-
diff --git a/P87P89/src/P88.java b/P87P89/src/P88.java
deleted file mode 100644
index ba52da2..0000000
--- a/P87P89/src/P88.java
+++ /dev/null
@@ -1,52 +0,0 @@
-/**
-* P88 : تبدیل یک عدد از مبنای 10 به مبنای 16 روش رشته ای
-*
-* @author Gholamali Nejad Hajali Irani
-* @version 1.0
-* @since 2021/02/05
-* @Team gClassAcademy
-* @Website youtube.com/gClassAcademy
-*
-*/
-
-import java.util.Scanner;
-
-public class P88
-{
- public static void main(String[] args)
- {
- Scanner input=new Scanner (System.in);
-
- System.out.print("Enter n: ");
- long n = input.nextLong(); // برای عدد گرفته شده از کاربر
-
- String s=""; // برای حاصل جمع نهایی
- while (n>0)
- {
- long r = n % 16;
-
- if (r<10)
- s = r + s;
- else
- s = (char)(r+55) + s;
-
- n = n/16;
- }
-
- System.out.println(s);
-
-
-
-
-
- }// end of main
-}// end of class
-
-
-
-
-
-
-
-
-
diff --git a/P87P89/src/P89.java b/P87P89/src/P89.java
deleted file mode 100644
index b47e7e3..0000000
--- a/P87P89/src/P89.java
+++ /dev/null
@@ -1,54 +0,0 @@
-/**
-* P89 : تبدیل یک عدد از مبنای 2 به مبنای 16 روش مستقیم
-*
-* @author Gholamali Nejad Hajali Irani
-* @version 1.0
-* @since 2021/02/05
-* @Team gClassAcademy
-* @Website youtube.com/gClassAcademy
-*
-*/
-
-import java.util.Scanner;
-
-public class P89
-{
- public static void main(String[] args)
- {
- Scanner input=new Scanner (System.in);
-
- System.out.print("Enter n: ");
- long n = input.nextLong(); // برای عدد گرفته شده از کاربر
- //System.out.println(n);
-
-
- String sum = "";
- while (n>0)
- {
- long r = n%10000;
- long k = r%10 + (((r/10)%10) *2) + ((r/100)%10 *4) + (r/1000)*8;
-
- if (k<10)
- sum = k + sum;
- else
- sum = (char)(k+55) + sum;
-
- n = n/10000;
- }
-
- System.out.println(sum);
-
-
-
-
- }// end of main
-}// end of class
-
-
-
-
-
-
-
-
-
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..ee157a0
--- /dev/null
+++ b/README.md
@@ -0,0 +1,17 @@
+# Programming-Java
+حل بیش از 300 مسئله و پروژه با زبان جاوا
+Problem Solving with Java (more than 300 problem and project)
+
+در این دوره سعی شده است بیش از 300 مسئله در زبان جاوا به صورت کامل نوشته شده و در صورت لزوم رفع خطا شده و مرحله به مرحله شرح داده شود.
+پیش نیاز این دوره ، فاز 1 آموزشهای من می باشد. در این دوره آموزشی الگوریتم و نحوه پیدا کردن جواب مسئله هدف نیست. برای درک کامل الگوریتم مسئله ها باید فیلمهای فاز 1 رو مشاهده نمایید.
+در این دوره هدف فقط نوشتن و جواب گرفتن از مسئله ها می باشد.
+مرجع سوالات ما در این آموزش سوالات ورژن 1.4 من می باشد که در آدرس زیر قرارداده شده است.
+
+آدرس دانلود سورس کدها :
+https://github.com/gClassAcademy/Programming-Java
+
+کلیه منابع دوره ، سوالات و دی وی دی دوره درآدرس درس توی وب سایت من موجود می باشند :
+http://gclass.co/?page_id=908
+
+آدرس وب سایت من :
+http://gclass.co/
pFad - Phonifier reborn
Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies:
Alternative Proxy
pFad Proxy
pFad v3 Proxy
pFad v4 Proxy