I just want to know why he/she has a separate class when you could put the whole thing in just one class. I wasnt trying to debug those errors; though i have fixed the code and runs on my machine...
Type: Posts; User: clydefrog
I just want to know why he/she has a separate class when you could put the whole thing in just one class. I wasnt trying to debug those errors; though i have fixed the code and runs on my machine...
Why not just move the method into the geometricSeriesDriver class?
Like so;
public class geometricSeriesDriver
{
public static double geometricSeries(double a, int n, double r)
{