Some Fibonacci FUN in Java <p>I'm having a little trouble with a problem in my intro to java book. Here is the situation: A user must input a Number, after that I must find the Fibonacci of that number. I am given this equitation for listing the numbers(see code). While yes i got that working i am wondering how i go about calculating my Fibonacci from that. oh and on a side note "Notepad ++" yells at me for not having a "public static void main(Strings[] args)". Is there a work around for that?</p> <pre><code>public class Fibonacci { public static void main(String[] args) { } public int Fib(int n) { FibonacciJDialog userInput = new FibonacciJDialog(); int in1=1,in2=1; int sum=1;//initial value int index; index = userInput.getUserInput(); while (index &lt;= n) { sum = in1+in2;// sum=the sum of 2 values; in1=in2;// in1 gets in2 in2 = sum;// in2 gets sum index++;// increment index } return sum; } } </code></pre>