Search:

Type: Posts; User: Zaphod_b

Search: Search took 0.08 seconds.

  1. [SOLVED] Re: Helpppp meeeee, I am stuckkkk and probably going to get violent any minute!!!!

    I use nextLine() as a matter of habit since it empties out the stream input buffer so that I can do another nextLine() later to get another user input string and not be faced with a leftover...
  2. [SOLVED] Re: Helpppp meeeee, I am stuckkkk and probably going to get violent any minute!!!!

    Cheat Sheet for printf format specifier
    Use whatever the heck you want.


    public class Z {
    public static void main(String [] args) {
    int x = 12;
    int y = 12345;

    ...
  3. [SOLVED] Re: Helpppp meeeee, I am stuckkkk and probably going to get violent any minute!!!!

    I thought you had been given some hints. Oh, well...


    Make the first substring dependent on the position of the character 'x' in each equation's String.


    Make the second substring...
  4. [SOLVED] Re: Helpppp meeeee, I am stuckkkk and probably going to get violent any minute!!!!

    I didn't show how to extract coefficients from strings. but I gave some hints, as have other helpers.

    If you had given the exact input specification at first, my previous post could have been a...
  5. [SOLVED] Re: Helpppp meeeee, I am stuckkkk and probably going to get violent any minute!!!!

    The ultimate goal is to find numerical values of x and y defined by the set of linear algebraic equations

    ax + by = e
    cx + dy = f

    Where LHS (left-hand side) coefficients a, b, c, d and RHS...
Results 1 to 5 of 5