mirror of
https://github.com/TheAlgorithms/Java.git
synced 2025-07-10 21:43:15 +08:00
Update Problem12.java
This commit is contained in:
@ -18,7 +18,7 @@
|
||||
What is the value of the first triangle number to have over five hundred divisors?
|
||||
*/
|
||||
|
||||
public class Problem_12_Highly_Divisible_Triangular_Number {
|
||||
public class Problem_12 {
|
||||
|
||||
/* returns the nth triangle number; that is, the sum of all the natural numbers less than, or equal to, n */
|
||||
public static int triangleNumber(int n) {
|
||||
|
Reference in New Issue
Block a user