java help (only loops)?

java help (only loops)?

I have teh following loop (which is currently wrong):
double m = input.nextDouble();
double step = t/m;
for (double i = 0; i < t; i+=step)
{
System.out.print(t);
for(double j = 0; j < v; j+=step)
{
occurrence.calcVelocityf(v, g, t);
v = occurrence.getVelocityf(v, g, t);
System.out.print(v.returnString() + "\t");

}

I.e. initial values the user enters e.g.

More on hypeanswer.com

    More on Wikipedia

    Answers

      News

        Syndicate content