Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit e63903a

Browse files
Update amicable_pair(prob 21).java
1 parent dd4af9d commit e63903a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎Competitive Coding/Math/Project_Euler/amicable_pair(prob 21).java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1+
package Euler
12
class P21
23
{ //Begin class
34

45

56
/***** Function to calculate the sum of proper divisors or factors *****/
6-
static int sumFactors(int num)
7+
publicstatic int sumFactors(int num)
78
{ //Begin sumFactors()
89
int sum = 0;
910

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /