Search:

Type: Posts; User: Zaphod_b

Search: Search took 0.07 seconds.

  1. Re: when i run the program to find the y values it always prints y2 instead

    Been there; done that. About a million times. Maybe more.

    Here's a thought:
    Maybe it's time to think about using meaningful names for variables.

    For example:



    ...
  2. Re: when i run the program to find the y values it always prints y2 instead

    The first thing that I suggested was to look, really look, at the code.

    What is the line where you get a user input String from the input dialog box? Go find a pencil and paper and write it...
  3. Re: when i run the program to find the y values it always prints y2 instead

    Well, look (really: look) at the place(s) where it gets values that seem not to be used correctly. If you still don't see a problem, make the program show you what it is using at each place things...
Results 1 to 3 of 3