mirror of
https://bitbucket.org/Mattrixwv/projecteulerjava.git
synced 2025-12-06 17:13:58 -05:00
Added new problems
This commit is contained in:
@@ -81,7 +81,7 @@ public class Problem25 extends Problem{
|
||||
@Override
|
||||
public String getResult(){
|
||||
solvedCheck("result");
|
||||
return String.format("The first Fibonacci number with %d digits is %s%nIts index is %d", NUM_DIGITS, number.toString(), index);
|
||||
return String.format("The first Fibonacci number with %d digits is %s\nIts index is %d", NUM_DIGITS, number.toString(), index);
|
||||
}
|
||||
//Returns the Fibonacci number asked for
|
||||
public BigInteger getNumber(){
|
||||
|
||||
Reference in New Issue
Block a user